time="2024-08-26T15:01:21Z" level=warning msg="/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/integration-test/docker-compose.yaml: `version` is obsolete" Container integration-test-gateway-1 Creating Container integration-test-authentication-1 Creating Container integration-test-experiment-1 Creating Container integration-test-authorization-1 Creating Container integration-test-federation-1 Creating Container integration-test-device-1 Creating Container integration-test-federation-1 Created Container integration-test-experiment-1 Created Container integration-test-gateway-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, 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/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 federation-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authorization-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authentication-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} experiment-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} device-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} federation-1 | {"level":"info","message":"Federation Service started successfully"} authorization-1 | {"addrs":["localhost:3011"],"diagnostic-addrs":[],"level":"info","msg":"Initializing server.","subsystem":"opa","time":"2024-08-26T15:01:52Z"} device-1 | {"level":"info","message":"Device Service started successfully"} experiment-1 | {"level":"info","message":"Experiment Service started successfully"} authentication-1 | {"level":"info","message":"Authentication Service started successfully"} authorization-1 | {"client_addr":"127.0.0.1:54858","level":"info","msg":"Received request.","req_id":1,"req_method":"GET","req_path":"/","subsystem":"opa","time":"2024-08-26T15:01:53Z"} authorization-1 | {"client_addr":"127.0.0.1:54858","level":"info","msg":"Sent response.","req_id":1,"req_method":"GET","req_path":"/","resp_bytes":1424,"resp_duration":0.315465,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:01:53Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"๐Ÿงช experimental features enabled: []","subsystem":"openfga","timestamp":1724684513.4858487} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"using 'memory' storage engine","subsystem":"openfga","timestamp":1724684513.4860065} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"warn","message":"authentication is disabled","subsystem":"openfga","timestamp":1724684513.486026} 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":1724684513.4860492} 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":1724684513.4860783} 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":1724684513.486147,"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":1724684513.486784} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"HTTP server listening on 'localhost:3013'...","subsystem":"openfga","timestamp":1724684513.4878507} 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:57908","raw_request":{"name":"crosslab"},"raw_response":{"created_at":"2024-08-26T15:01:53.501421001Z","id":"01J67KAC6XRYV3KBKNJTHG0M64","name":"crosslab","updated_at":"2024-08-26T15:01:53.501421001Z"},"request_id":"0a81951b-34c1-4c4e-afe3-ce3a2b17df4a","subsystem":"openfga","timestamp":1724684513.501493} 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:57908","raw_request":{"schema_version":"1.1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_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":"01J67KAC7ZE6DQEHH1NF2Z4KRE"},"request_id":"0328d20d-e4bf-4ad0-a819-39e3daa44c72","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684513.5357385} authorization-1 | {"client_addr":"127.0.0.1:54858","level":"info","msg":"Received request.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","subsystem":"opa","time":"2024-08-26T15:01:53Z"} authorization-1 | {"client_addr":"127.0.0.1:54858","level":"info","msg":"Sent response.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","resp_bytes":0,"resp_duration":0.170063,"resp_status":204,"subsystem":"opa","time":"2024-08-26T15:01:53Z"} authorization-1 | {"level":"info","message":"Authorization Service started successfully"} authorization-1 | {"current_version":"0.54.0","download_opa":"https://openpolicyagent.org/downloads/v0.67.1/opa_linux_amd64","latest_version":"0.67.1","level":"info","msg":"OPA is out of date.","release_notes":"https://github.com/open-policy-agent/opa/releases/tag/v0.67.1","subsystem":"opa","time":"2024-08-26T15:01:53Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:02 +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.029","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"333d4111368ad38a411f2d5647247e08"} authentication-1 | {"level":"info","message":"HEAD /auth/status 200 19ms","method":"HEAD","requestID":"333d4111368ad38a411f2d5647247e08","responseTime":19,"status":200,"url":"/auth/status"} gateway-1 | {"time_local":"26/Aug/2024:15:02:02 +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.032","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"05d79b113c6c42c59a9b87d2692fe395"} device-1 | {"level":"info","message":"HEAD /device/status 200 20ms","method":"HEAD","requestID":"26777860-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/device/status"} gateway-1 | {"time_local":"26/Aug/2024:15:02:02 +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.007","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"d08b90960180fe76eea3583ee2836525"} authorization-1 | {"level":"info","message":"HEAD /authorization/status 200 4ms","method":"HEAD","requestID":"d08b90960180fe76eea3583ee2836525","responseTime":4,"status":200,"url":"/authorization/status"} gateway-1 | {"time_local":"26/Aug/2024:15:02:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /federation/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.016","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"61a2dd06c0a2cffa451cc98ff888dd01"} federation-1 | {"level":"info","message":"HEAD /federation/status 200 14ms","method":"HEAD","requestID":"267e2f20-63bc-11ef-b586-07b2d9b53ef0","responseTime":14,"status":200,"url":"/federation/status"} gateway-1 | {"time_local":"26/Aug/2024:15:02:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /experiment/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.016","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"de76ba4611cd6d5cad9be429b891447e"} experiment-1 | {"level":"info","message":"HEAD /experiment/status 200 10ms","method":"HEAD","requestID":"268226c0-63bc-11ef-b75c-d7e9dc61b646","responseTime":10,"status":200,"url":"/experiment/status"} gateway-1 | {"time_local":"26/Aug/2024:15:02:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /login HTTP/1.1","status": "201","body_bytes_sent":"88","request_time":"0.154","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bfc8be094a1101325a6fc1175523fc5d"} authentication-1 | {"level":"info","message":"POST /login 201 133ms","method":"POST","requestID":"bfc8be094a1101325a6fc1175523fc5d","responseTime":133,"status":201,"url":"/login"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyM30.8ry16vInAmE086GQoUCMBZ5bHuDGkoRmb3qT3k_7i5E","level":"info","message":"auth send jwt","requestID":"f2808d121454778d1cd6093795724ff1"} authentication-1 | {"level":"info","message":"GET /auth 200 20ms","method":"GET","requestID":"f2808d121454778d1cd6093795724ff1","responseTime":20,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f2808d121454778d1cd6093795724ff1"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.53992,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f2808d121454778d1cd6093795724ff1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684523,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyM30.8ry16vInAmE086GQoUCMBZ5bHuDGkoRmb3qT3k_7i5E"} authorization-1 | {"level":"info","message":"POST /authorize 200 23ms","method":"POST","requestID":"f2808d121454778d1cd6093795724ff1","responseTime":23,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"845d6177-aeeb-4945-b838-7626366dda0b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684523.8911655} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"f2808d121454778d1cd6093795724ff1","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f2d364bc-ec5b-44d3-8da3-80de12e1ef23","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684523.9083018} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"f2808d121454778d1cd6093795724ff1","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"2782b287-b440-46b3-8dcb-1de2d7ce92a6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684523.9248083} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ba666a8b-b5f3-4533-a478-0459d9892ab8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684523.925208} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"f2808d121454778d1cd6093795724ff1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:03.924780770Z"}]},"request_id":"2e54b5bf-5557-4587-9ced-1c3b4dcd1bc9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684523.9336178} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"f2808d121454778d1cd6093795724ff1","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f2808d121454778d1cd6093795724ff1"} gateway-1 | {"time_local":"26/Aug/2024:15:02:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.278","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f2808d121454778d1cd6093795724ff1"} device-1 | {"level":"info","message":"POST /devices? 201 232ms","method":"POST","requestID":"f2808d121454778d1cd6093795724ff1","responseTime":232,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyM30.8ry16vInAmE086GQoUCMBZ5bHuDGkoRmb3qT3k_7i5E","level":"info","message":"auth send jwt","requestID":"2138a01c03e14297e392b0166fda96d9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2138a01c03e14297e392b0166fda96d9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2138a01c03e14297e392b0166fda96d9"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.935782,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2138a01c03e14297e392b0166fda96d9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684523,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyM30.8ry16vInAmE086GQoUCMBZ5bHuDGkoRmb3qT3k_7i5E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2138a01c03e14297e392b0166fda96d9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"bbdbef70-0893-4229-b071-f58a85bfd2dc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684523.9911368} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"2138a01c03e14297e392b0166fda96d9","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"07283db8-e3c1-458c-a2da-6c54c3e1bccf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684524.0048482} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"2138a01c03e14297e392b0166fda96d9","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"b0a591cc-d9a2-4277-aaa1-98d3a4f75fa3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684524.0244098} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b929ddf2-e96b-407b-9fb1-7f2a3dc30ecf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684524.0250335} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"2138a01c03e14297e392b0166fda96d9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:04.024392702Z"}]},"request_id":"6e65e5e0-218c-4362-a0f3-34eaa118d648","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684524.0385008} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"2138a01c03e14297e392b0166fda96d9","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2138a01c03e14297e392b0166fda96d9"} gateway-1 | {"time_local":"26/Aug/2024:15:02:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.084","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2138a01c03e14297e392b0166fda96d9"} device-1 | {"level":"info","message":"POST /devices? 201 77ms","method":"POST","requestID":"2138a01c03e14297e392b0166fda96d9","responseTime":77,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3a3a0577f47d726acdcc316d7b16b11b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"3a3a0577f47d726acdcc316d7b16b11b","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"155d6084236634b109066cea1e0ac63a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"155d6084236634b109066cea1e0ac63a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/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":"3a3a0577f47d726acdcc316d7b16b11b"} device-1 | {"level":"info","message":"OPTIONS /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/websocket 200 2ms","method":"OPTIONS","requestID":"3a3a0577f47d726acdcc316d7b16b11b","responseTime":2,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:02:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/75c679e4-b93c-4b90-97b2-a58e88888332/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.008","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"155d6084236634b109066cea1e0ac63a"} device-1 | {"level":"info","message":"OPTIONS /devices/75c679e4-b93c-4b90-97b2-a58e88888332/websocket 200 1ms","method":"OPTIONS","requestID":"155d6084236634b109066cea1e0ac63a","responseTime":1,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38","level":"info","message":"auth send jwt","requestID":"45cc59168e805707e15ca1257ac5fc7a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"45cc59168e805707e15ca1257ac5fc7a","responseTime":6,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38","level":"info","message":"auth send jwt","requestID":"d72a5a30239a088a4a503f8c28f07f37"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"45cc59168e805707e15ca1257ac5fc7a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"d72a5a30239a088a4a503f8c28f07f37","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d72a5a30239a088a4a503f8c28f07f37"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.721213,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"45cc59168e805707e15ca1257ac5fc7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"45cc59168e805707e15ca1257ac5fc7a","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.552866,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d72a5a30239a088a4a503f8c28f07f37","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"d72a5a30239a088a4a503f8c28f07f37","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d72a5a30239a088a4a503f8c28f07f37"} gateway-1 | {"time_local":"26/Aug/2024:15:02:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/75c679e4-b93c-4b90-97b2-a58e88888332/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":"d72a5a30239a088a4a503f8c28f07f37"} device-1 | {"level":"info","message":"POST /devices/75c679e4-b93c-4b90-97b2-a58e88888332/websocket 200 33ms","method":"POST","requestID":"d72a5a30239a088a4a503f8c28f07f37","responseTime":33,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"45cc59168e805707e15ca1257ac5fc7a"} gateway-1 | {"time_local":"26/Aug/2024:15:02:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.062","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"45cc59168e805707e15ca1257ac5fc7a"} device-1 | {"level":"info","message":"POST /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/websocket 200 54ms","method":"POST","requestID":"45cc59168e805707e15ca1257ac5fc7a","responseTime":54,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38","level":"info","message":"auth send jwt","requestID":"95ab27c59595425d0fc7de3b963a4600"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"95ab27c59595425d0fc7de3b963a4600","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"95ab27c59595425d0fc7de3b963a4600"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.137638,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"95ab27c59595425d0fc7de3b963a4600","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"95ab27c59595425d0fc7de3b963a4600","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:03.924780770Z"}]},"request_id":"33dc1641-0707-44a1-83d2-2c18219aa085","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684526.579078} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"95ab27c59595425d0fc7de3b963a4600","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"95ab27c59595425d0fc7de3b963a4600"} gateway-1 | {"time_local":"26/Aug/2024:15:02:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"95ab27c59595425d0fc7de3b963a4600"} device-1 | {"level":"info","message":"GET /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b? 200 37ms","method":"GET","requestID":"95ab27c59595425d0fc7de3b963a4600","responseTime":37,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38","level":"info","message":"auth send jwt","requestID":"be9990c6d0747c481daab7ff35d89dcd"} authentication-1 | {"level":"info","message":"GET /auth 200 9ms","method":"GET","requestID":"be9990c6d0747c481daab7ff35d89dcd","responseTime":9,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"be9990c6d0747c481daab7ff35d89dcd"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.35365,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"be9990c6d0747c481daab7ff35d89dcd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"be9990c6d0747c481daab7ff35d89dcd","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:04.024392702Z"}]},"request_id":"90602a7c-6f6f-4085-8689-240d37170b40","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684526.6361067} authorization-1 | {"level":"info","message":"POST /relations/query 200 42ms","method":"POST","requestID":"be9990c6d0747c481daab7ff35d89dcd","responseTime":42,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"be9990c6d0747c481daab7ff35d89dcd"} gateway-1 | {"time_local":"26/Aug/2024:15:02:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75c679e4-b93c-4b90-97b2-a58e88888332? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.106","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"be9990c6d0747c481daab7ff35d89dcd"} device-1 | {"level":"info","message":"GET /devices/75c679e4-b93c-4b90-97b2-a58e88888332? 200 95ms","method":"GET","requestID":"be9990c6d0747c481daab7ff35d89dcd","responseTime":95,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38","level":"info","message":"auth send jwt","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6e344b56f23c7ecaf34c56b753046a8d","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.668381,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6e344b56f23c7ecaf34c56b753046a8d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6e344b56f23c7ecaf34c56b753046a8d","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Attempting to run experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Attempting to book experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully booked experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"293e1270-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"293e6090-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643612,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"293e1270-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"293e1270-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.711322,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"293e6090-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"293e6090-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:03.924780770Z"}]},"request_id":"1aee5d06-85ca-430d-ba40-4275dea6458d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684526.8876486} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"293e1270-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:04.024392702Z"}]},"request_id":"67a454a0-65b5-42b3-900d-d0a1ac7a715d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684526.8903518} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"293e6090-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"293e1270-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b? 200 27ms","method":"GET","requestID":"293e1270-63bc-11ef-bd85-dbaeea89054b","responseTime":27,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"293e6090-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/75c679e4-b93c-4b90-97b2-a58e88888332? 200 26ms","method":"GET","requestID":"293e6090-63bc-11ef-bd85-dbaeea89054b","responseTime":26,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Setting up experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully set up experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"294e1800-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"294e6620-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully running experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.940025,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.722738,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"294eb440-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"294e1800-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"294e1800-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"294e6620-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"294e6620-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.598929,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:06Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4037a725-fafa-4ef3-a88c-0832a329906a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684526.9930563} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:04.024392702Z"}]},"request_id":"03c4aa58-3467-473e-b095-97d99be48b98","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684526.9966502} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"294eb440-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","rebac_allow":false,"scope_allow":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":"294eb440-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"294e6620-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:03.924780770Z"}]},"request_id":"e23cc1e3-8a78-4ef7-a7d2-50ab660052bc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0008736} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"294e1800-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"294eb440-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling 200 25ms","method":"POST","requestID":"294eb440-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19135450-75a3-4de7-876e-84d7b493e0dd#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19135450-75a3-4de7-876e-84d7b493e0dd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"84a52aeb-4c4a-4b0b-a5b1-9ef969fd5b5c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0060575} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"294e6620-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"99247c46-fa69-4e30-a35e-b983c3739073","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0099187} device-1 | {"level":"info","message":"GET /devices/75c679e4-b93c-4b90-97b2-a58e88888332? 200 33ms","method":"GET","requestID":"294e6620-63bc-11ef-bd85-dbaeea89054b","responseTime":33,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29539640-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"294e1800-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b? 200 38ms","method":"GET","requestID":"294e1800-63bc-11ef-bd85-dbaeea89054b","responseTime":38,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"6e344b56f23c7ecaf34c56b753046a8d","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"295480a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1cc1d107-a49e-4948-915a-f18c561893f3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0183742} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.405719,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"29539640-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","rebac_allow":false,"scope_allow":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":"29539640-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29539640-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6e861005-1c1c-4590-a817-b3f19f4cd8a6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0253193} device-1 | {"level":"info","message":"POST /devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling 200 13ms","method":"POST","requestID":"29539640-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.719183,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"295480a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","rebac_allow":false,"scope_allow":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":"295480a0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.315","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"level":"info","message":"POST /experiments? 201 298ms","method":"POST","requestID":"6e344b56f23c7ecaf34c56b753046a8d","responseTime":298,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"295480a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling 200 14ms","method":"POST","requestID":"295480a0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"295718b0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo","level":"info","message":"auth send jwt","requestID":"80f3686a8b1730a38fcf5a165e7efe29"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"80f3686a8b1730a38fcf5a165e7efe29","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"80f3686a8b1730a38fcf5a165e7efe29"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8314fb08-e6dd-481a-bdad-8a20227d47fe","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0406196} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.251058,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"295718b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","rebac_allow":false,"scope_allow":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":"295718b0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.657116,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"80f3686a8b1730a38fcf5a165e7efe29","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684527,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"80f3686a8b1730a38fcf5a165e7efe29","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"295718b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling 200 14ms","method":"POST","requestID":"295718b0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332/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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:03.924780770Z"}]},"request_id":"6e44f59a-316d-41a6-af5e-d85c56805ccd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0511413} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Building connection plan","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"80f3686a8b1730a38fcf5a165e7efe29","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"2fe6627d-1ac0-4339-b9bf-544b9c5b7b46"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"999f5c41-7fd0-47e4-bb33-e49cdcf642c0"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"c5995bf5-6703-4570-9ce1-cd0409bf3239"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"80f3686a8b1730a38fcf5a165e7efe29"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"80f3686a8b1730a38fcf5a165e7efe29"} device-1 | {"level":"info","message":"GET /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b? 200 17ms","method":"GET","requestID":"80f3686a8b1730a38fcf5a165e7efe29","responseTime":17,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo","level":"info","message":"auth send jwt","requestID":"6934947d17e06bc625a715f98e9e3fe1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6934947d17e06bc625a715f98e9e3fe1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6934947d17e06bc625a715f98e9e3fe1"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.768888,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684526,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyNn0.-z5Vu8IQaS8Ae4xf8xuWH-1ztDg_XarYfzXHe7kRY38"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.621474,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6934947d17e06bc625a715f98e9e3fe1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684527,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6934947d17e06bc625a715f98e9e3fe1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:04.024392702Z"}]},"request_id":"c0634ef5-dfa6-428b-9224-b6dd1133cad2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0737104} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6934947d17e06bc625a715f98e9e3fe1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6934947d17e06bc625a715f98e9e3fe1"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/75c679e4-b93c-4b90-97b2-a58e88888332? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6934947d17e06bc625a715f98e9e3fe1"} device-1 | {"level":"info","message":"GET /devices/75c679e4-b93c-4b90-97b2-a58e88888332? 200 16ms","method":"GET","requestID":"6934947d17e06bc625a715f98e9e3fe1","responseTime":16,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"128c39bf-ed36-4f6c-a4a6-e2f741aacaf5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.086408} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46f6ceb4-f579-468f-9407-8cc905d4303d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.0866997} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b'","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b'","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 48ms","method":"POST","requestID":"295a9b20-63bc-11ef-bd85-dbaeea89054b","responseTime":48,"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":"295a9b20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6e344b56f23c7ecaf34c56b753046a8d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29676c60-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4e6bb4da-007b-44d1-aabe-acea58df3454","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.1472561} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.485858,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"29676c60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29676c60-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29676c60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling 200 11ms","method":"POST","requestID":"29676c60-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2969b650-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"67044fbc-fead-4e30-959a-93ed968101d3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.1618848} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.344115,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2969b650-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","rebac_allow":false,"scope_allow":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":"2969b650-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2969b650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling 200 15ms","method":"POST","requestID":"2969b650-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 6156035626123568974 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:Y5IO\r\na=ice-pwd:aFUy8rvHovFKtXDh8zg+A5zS\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5D:D5:B3:31:BE:62:C9:C0:E9:24:56:9E:6B:34:C5:23:FE:A1:53:FE:F3:0D:11:6B:16:71:C2:E9:AA:99:35:16\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 8570931359980481423 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:yWzP\r\na=ice-pwd:BKw9UEfjc7DMdzcBUoajQp1Y\r\na=ice-options:trickle\r\na=fingerprint:sha-256 51:16:A7:63:E2:0D:22:8C:74:BC:81:10:C4:D5:A1:D0:E0:3D:D5:8A:2C:74:1E:AF:7C:10:15:68:C6:05:37: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":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2269125562 1 udp 2113937151 c5af4f77-57e6-47ed-b646-0179ba0fc845.local 52207 typ host generation 0 ufrag yWzP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"75c679e4-b93c-4b90-97b2-a58e88888332","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/75c679e4-b93c-4b90-97b2-a58e88888332'"} device-1 | {"content":{"candidate":"candidate:57504197 1 udp 1677729535 141.24.211.56 52207 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag yWzP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1478713583 1 udp 2113937151 04116cba-1fe0-48a3-be88-9f1d0e2e8211.local 57059 typ host generation 0 ufrag Y5IO network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3406348796 1 udp 1677729535 141.24.211.56 57059 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag Y5IO network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","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/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b'"} device-1 | {"device":"75c679e4-b93c-4b90-97b2-a58e88888332","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/dc57580e-5c61-4fcf-abad-457955a6537b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dc57580e-5c61-4fcf-abad-457955a6537b","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9b67236538157fbd91450d9909d9465c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9b67236538157fbd91450d9909d9465c","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b"}}},"level":"info","message":"received a callback","requestID":"9b67236538157fbd91450d9909d9465c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 12ms","method":"POST","requestID":"9b67236538157fbd91450d9909d9465c","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.016","http_referrer":"","http_user_agent":"node-fetch","requestID":"9b67236538157fbd91450d9909d9465c"} device-1 | {"data":{"peerconnection":"dc57580e-5c61-4fcf-abad-457955a6537b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"dc57580e-5c61-4fcf-abad-457955a6537b","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/dc57580e-5c61-4fcf-abad-457955a6537b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dc57580e-5c61-4fcf-abad-457955a6537b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"eb94bb158e8430e461e815b61bd5e6fa","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"eb94bb158e8430e461e815b61bd5e6fa","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b"}}},"level":"info","message":"received a callback","requestID":"eb94bb158e8430e461e815b61bd5e6fa"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"297cc920-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdc57580e-5c61-4fcf-abad-457955a6537b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"af22008d-409f-4594-a1c7-d70cb2642207","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.2884245} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.595245,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"297cc920-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","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":"297cc920-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"297cc920-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b 200 20ms","method":"GET","requestID":"297cc920-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 51ms","method":"POST","requestID":"eb94bb158e8430e461e815b61bd5e6fa","responseTime":51,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.056","http_referrer":"","http_user_agent":"node-fetch","requestID":"eb94bb158e8430e461e815b61bd5e6fa"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2983ce00-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo","level":"info","message":"auth send jwt","requestID":"a8a108d58719e8b959db5d3a4b05d6d2"} authentication-1 | {"level":"info","message":"GET /auth 200 15ms","method":"GET","requestID":"a8a108d58719e8b959db5d3a4b05d6d2","responseTime":15,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/19135450-75a3-4de7-876e-84d7b493e0dd","requestID":"a8a108d58719e8b959db5d3a4b05d6d2"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"93fc06af-eec6-4cef-ba8c-19aec64496a9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.335479} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.686167,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2983ce00-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","rebac_allow":false,"scope_allow":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":"2983ce00-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.657672,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a8a108d58719e8b959db5d3a4b05d6d2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684527,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"a8a108d58719e8b959db5d3a4b05d6d2","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2983ce00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling 200 16ms","method":"POST","requestID":"2983ce00-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2986db40-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/19135450-75a3-4de7-876e-84d7b493e0dd","requestID":"a8a108d58719e8b959db5d3a4b05d6d2"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e768e25c-7b1e-4240-8cea-e84db58f1a16","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.3530622} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/19135450-75a3-4de7-876e-84d7b493e0dd HTTP/1.1","status": "200","body_bytes_sent":"880","request_time":"0.041","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a8a108d58719e8b959db5d3a4b05d6d2"} experiment-1 | {"level":"info","message":"GET /experiments/19135450-75a3-4de7-876e-84d7b493e0dd 200 23ms","method":"GET","requestID":"a8a108d58719e8b959db5d3a4b05d6d2","responseTime":23,"status":200,"url":"/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.010274,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2986db40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","rebac_allow":false,"scope_allow":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":"2986db40-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2986db40-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling 200 11ms","method":"POST","requestID":"2986db40-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo","level":"info","message":"auth send jwt","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/19135450-75a3-4de7-876e-84d7b493e0dd","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.734968,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1a2632b2b9702b2904fedad5c6c2d7cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684527,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Attempting to finish experiment","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"298af9f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.714637,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"298af9f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684527,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"298af9f0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","device":"75c679e4-b93c-4b90-97b2-a58e88888332","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b","device":"70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","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/dc57580e-5c61-4fcf-abad-457955a6537b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"dc57580e-5c61-4fcf-abad-457955a6537b","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b6b9f09eae6569dc67998726f432c7c7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b6b9f09eae6569dc67998726f432c7c7","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b"}}},"level":"info","message":"received a callback","requestID":"b6b9f09eae6569dc67998726f432c7c7"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5d6e4669c9e7ed9508551c4d3fa0e1c8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"5d6e4669c9e7ed9508551c4d3fa0e1c8","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b"}}},"level":"info","message":"received a callback","requestID":"5d6e4669c9e7ed9508551c4d3fa0e1c8"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdc57580e-5c61-4fcf-abad-457955a6537b': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdc57580e-5c61-4fcf-abad-457955a6537b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"9ecda853-e0c6-4ac4-a6c8-a3098ca523f7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.4039154} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95ae40e2-712c-4f4e-9a6f-ee84f3e1bfa2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.404189} device-1 | {"data":{"peerconnection":"dc57580e-5c61-4fcf-abad-457955a6537b","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"298af9f0-63bc-11ef-bd85-dbaeea89054b","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"298af9f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b 204 43ms","method":"DELETE","requestID":"298af9f0-63bc-11ef-bd85-dbaeea89054b","responseTime":43,"status":204,"url":"/peerconnections/dc57580e-5c61-4fcf-abad-457955a6537b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"},"level":"info","message":"Successfully finished experiment","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29953320-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F75c679e4-b93c-4b90-97b2-a58e88888332","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6fec6163-8780-40e9-a6e5-4b67b98fccf8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.4494019} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.453155,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"29953320-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"29953320-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29953320-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling 200 12ms","method":"POST","requestID":"29953320-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/75c679e4-b93c-4b90-97b2-a58e88888332/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"29975600-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19135450-75a3-4de7-876e-84d7b493e0dd': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F19135450-75a3-4de7-876e-84d7b493e0dd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"edaf8c66-6fa2-4205-81e5-501f5a87c492","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.458208} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4387b983-48dc-4ef2-b4cd-929e95df46db","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.4583848} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b56c080b-6dcb-49f5-850b-5739732e3dc3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.4616156} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.109189,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"29975600-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b","object_type":"device","rebac_allow":false,"scope_allow":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":"29975600-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"29975600-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling 200 11ms","method":"POST","requestID":"29975600-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/19135450-75a3-4de7-876e-84d7b493e0dd","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/19135450-75a3-4de7-876e-84d7b493e0dd 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":"1a2632b2b9702b2904fedad5c6c2d7cc"} experiment-1 | {"level":"info","message":"DELETE /experiments/19135450-75a3-4de7-876e-84d7b493e0dd 204 165ms","method":"DELETE","requestID":"1a2632b2b9702b2904fedad5c6c2d7cc","responseTime":165,"status":204,"url":"/experiments/19135450-75a3-4de7-876e-84d7b493e0dd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo","level":"info","message":"auth send jwt","requestID":"f8c376d10f634a00fcd0d688d27c12cb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"b6b9f09eae6569dc67998726f432c7c7","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"b6b9f09eae6569dc67998726f432c7c7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"5d6e4669c9e7ed9508551c4d3fa0e1c8","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"5d6e4669c9e7ed9508551c4d3fa0e1c8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f8c376d10f634a00fcd0d688d27c12cb","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2647","request_time":"1.025","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a01e73a8a9f5c18a37b019a7258e50ff"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2645","request_time":"1.020","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e943c5a0be64bbdb7f55ccea334963df"} device-1 | {"level":"info","message":"postDevices called","requestID":"f8c376d10f634a00fcd0d688d27c12cb"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.950757,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f8c376d10f634a00fcd0d688d27c12cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684527,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8c376d10f634a00fcd0d688d27c12cb","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/70d3ea81-b8f6-45c2-bd6a-58b5dfaf2a5b' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/75c679e4-b93c-4b90-97b2-a58e88888332' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e1ccfb30-8b51-4bc7-95c4-2df298392192","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.568637} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f8c376d10f634a00fcd0d688d27c12cb","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2b68d173-e5d0-4a0e-8cdf-6c8d50c7147f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.575354} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"f8c376d10f634a00fcd0d688d27c12cb","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"3a71d07e-520d-448c-9a09-94299902c6e8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.58814} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c3c4a5e3-a58b-45cf-8d22-f0122680cf62","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.5883784} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"f8c376d10f634a00fcd0d688d27c12cb","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.588123697Z"}]},"request_id":"339d3ebc-3bd6-4273-aaeb-8f49437f82fe","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.594287} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f8c376d10f634a00fcd0d688d27c12cb","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f8c376d10f634a00fcd0d688d27c12cb"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.067","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f8c376d10f634a00fcd0d688d27c12cb"} device-1 | {"level":"info","message":"POST /devices? 201 56ms","method":"POST","requestID":"f8c376d10f634a00fcd0d688d27c12cb","responseTime":56,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo","level":"info","message":"auth send jwt","requestID":"4489a1842a477ed63d6ee2798b9f1457"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4489a1842a477ed63d6ee2798b9f1457","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4489a1842a477ed63d6ee2798b9f1457"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.815221,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4489a1842a477ed63d6ee2798b9f1457","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684527,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyN30.gS_BoW1mLGWbhmmuq4qexzYRZmYyyN1NFdERYjH20Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4489a1842a477ed63d6ee2798b9f1457","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ddcc9683-c733-4204-bb9c-72da58f778fa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.6285641} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4489a1842a477ed63d6ee2798b9f1457","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"024a33c9-10a1-4979-a6df-0b134825a292","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.6358542} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"4489a1842a477ed63d6ee2798b9f1457","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"17cf7e6a-d795-4d12-97de-1ee9b2bd5bfd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.6462605} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a649f717-a953-4050-a337-ab6fae859052","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.646564} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"4489a1842a477ed63d6ee2798b9f1457","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.646243917Z"}]},"request_id":"1792c4ac-c3de-41bb-a795-5dc2f5863f22","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684527.6510224} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4489a1842a477ed63d6ee2798b9f1457","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4489a1842a477ed63d6ee2798b9f1457"} gateway-1 | {"time_local":"26/Aug/2024:15:02:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4489a1842a477ed63d6ee2798b9f1457"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"4489a1842a477ed63d6ee2798b9f1457","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOH0.8Kdl6fs2mrepvBv2oKE_WVnlSKTfZDnJDPJiekkRds0","level":"info","message":"auth send jwt","requestID":"8bb9ddcb36990548c35395b240f8fe4e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8bb9ddcb36990548c35395b240f8fe4e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8bb9ddcb36990548c35395b240f8fe4e"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.145444,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8bb9ddcb36990548c35395b240f8fe4e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684528,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOH0.8Kdl6fs2mrepvBv2oKE_WVnlSKTfZDnJDPJiekkRds0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8bb9ddcb36990548c35395b240f8fe4e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.646243917Z"}]},"request_id":"e58f3c3e-2c65-48c8-9c79-cbe4fb50970d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684528.2612064} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8bb9ddcb36990548c35395b240f8fe4e","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33b904ba-402e-443b-a9fb-769bf8ef3703","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684528.2683384} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"8bb9ddcb36990548c35395b240f8fe4e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.646243917Z"}]},"request_id":"f598ab27-8979-4ce7-a6b5-34f62943571c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684528.2890892} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8bb9ddcb36990548c35395b240f8fe4e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8bb9ddcb36990548c35395b240f8fe4e"} device-1 | {"level":"info","message":"PATCH /devices/68af4433-49c5-4ee1-9e76-07eccf97306f 200 62ms","method":"PATCH","requestID":"8bb9ddcb36990548c35395b240f8fe4e","responseTime":62,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f"} gateway-1 | {"time_local":"26/Aug/2024:15:02:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/68af4433-49c5-4ee1-9e76-07eccf97306f HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.067","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"8bb9ddcb36990548c35395b240f8fe4e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOH0.8Kdl6fs2mrepvBv2oKE_WVnlSKTfZDnJDPJiekkRds0","level":"info","message":"auth send jwt","requestID":"7c94d93a1356c02429a663b8f93cb434"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7c94d93a1356c02429a663b8f93cb434","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7c94d93a1356c02429a663b8f93cb434"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.725487,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"7c94d93a1356c02429a663b8f93cb434","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684528,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOH0.8Kdl6fs2mrepvBv2oKE_WVnlSKTfZDnJDPJiekkRds0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c94d93a1356c02429a663b8f93cb434","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7c94d93a1356c02429a663b8f93cb434"} gateway-1 | {"time_local":"26/Aug/2024:15:02:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/68af4433-49c5-4ee1-9e76-07eccf97306f/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7c94d93a1356c02429a663b8f93cb434"} device-1 | {"level":"info","message":"POST /devices/68af4433-49c5-4ee1-9e76-07eccf97306f/websocket 200 21ms","method":"POST","requestID":"7c94d93a1356c02429a663b8f93cb434","responseTime":21,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cba0215772525873786ea689053a8022","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cba0215772525873786ea689053a8022","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/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":"cba0215772525873786ea689053a8022"} device-1 | {"level":"info","message":"OPTIONS /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/websocket 200 2ms","method":"OPTIONS","requestID":"cba0215772525873786ea689053a8022","responseTime":2,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8","level":"info","message":"auth send jwt","requestID":"f33a0b4ed352372770768b5a6fd906bb"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"f33a0b4ed352372770768b5a6fd906bb","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f33a0b4ed352372770768b5a6fd906bb"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.456277,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f33a0b4ed352372770768b5a6fd906bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f33a0b4ed352372770768b5a6fd906bb","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f33a0b4ed352372770768b5a6fd906bb"} gateway-1 | {"time_local":"26/Aug/2024:15:02:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/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":"f33a0b4ed352372770768b5a6fd906bb"} device-1 | {"level":"info","message":"POST /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/websocket 200 29ms","method":"POST","requestID":"f33a0b4ed352372770768b5a6fd906bb","responseTime":29,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8","level":"info","message":"auth send jwt","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.429402,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1a6fded04d6e8139f7a42f988b3e5fe8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.588123697Z"}]},"request_id":"870c9486-307f-45fb-9239-613678244695","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.6974535} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8"} gateway-1 | {"time_local":"26/Aug/2024:15:02:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8"} device-1 | {"level":"info","message":"GET /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f? 200 21ms","method":"GET","requestID":"1a6fded04d6e8139f7a42f988b3e5fe8","responseTime":21,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8","level":"info","message":"auth send jwt","requestID":"c91cc4eab90156136bb41f285241e4f2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c91cc4eab90156136bb41f285241e4f2","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c91cc4eab90156136bb41f285241e4f2"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.976887,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c91cc4eab90156136bb41f285241e4f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c91cc4eab90156136bb41f285241e4f2","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.646243917Z"}]},"request_id":"e563711e-4a2e-4d50-a62c-2df6bca2f6c2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.730024} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c91cc4eab90156136bb41f285241e4f2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c91cc4eab90156136bb41f285241e4f2"} gateway-1 | {"time_local":"26/Aug/2024:15:02:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/68af4433-49c5-4ee1-9e76-07eccf97306f? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c91cc4eab90156136bb41f285241e4f2"} device-1 | {"level":"info","message":"GET /devices/68af4433-49c5-4ee1-9e76-07eccf97306f? 200 23ms","method":"GET","requestID":"c91cc4eab90156136bb41f285241e4f2","responseTime":23,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8","level":"info","message":"auth send jwt","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4bdf1d98c13ee096a5545779a49e8bdb","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.688681,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4bdf1d98c13ee096a5545779a49e8bdb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4bdf1d98c13ee096a5545779a49e8bdb","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Attempting to run experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Attempting to book experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully booked experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2afdeae0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2afe3900-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.255825,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2afdeae0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2afdeae0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.878598,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2afe3900-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2afe3900-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.588123697Z"}]},"request_id":"a655beb6-0406-4467-ad07-0396e094720e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.818078} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2afdeae0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.646243917Z"}]},"request_id":"bbb81141-7a14-44fb-8a49-7151043a4e8a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.8198068} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2afe3900-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2afdeae0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f? 200 22ms","method":"GET","requestID":"2afdeae0-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2afe3900-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/68af4433-49c5-4ee1-9e76-07eccf97306f? 200 22ms","method":"GET","requestID":"2afe3900-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Setting up experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully set up experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2b0bcd90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2b0c1bb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2b0c90e0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully running experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.559676,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b0bcd90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2b0bcd90-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.213851,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b0c1bb0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"2b0c1bb0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.590371,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"631efeb4-351b-4139-8f91-83146a7159ed","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9132144} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b0c90e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","rebac_allow":false,"scope_allow":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":"2b0c90e0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.588123697Z"}]},"request_id":"b8849839-83a8-4229-8aeb-04436152c852","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9183097} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"2b0bcd90-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.646243917Z"}]},"request_id":"509d5aa8-8eea-4b8b-99bf-7228966a2e27","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9239774} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2b0c1bb0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2b0c90e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling 200 25ms","method":"POST","requestID":"2b0c90e0-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2b0bcd90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f? 200 35ms","method":"GET","requestID":"2b0bcd90-63bc-11ef-bd85-dbaeea89054b","responseTime":35,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2b1172e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2b0c1bb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/68af4433-49c5-4ee1-9e76-07eccf97306f? 200 38ms","method":"GET","requestID":"2b0c1bb0-63bc-11ef-bd85-dbaeea89054b","responseTime":38,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F46f6d829-af3e-4951-97dd-1941bebfc957#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F46f6d829-af3e-4951-97dd-1941bebfc957","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"baa41c48-db5e-42a2-880d-12bc95d67dc3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.937546} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"293c70ee-b5aa-4fec-928d-83e6e16929f6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.93848} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 30ms","method":"POST","requestID":"4bdf1d98c13ee096a5545779a49e8bdb","responseTime":30,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2b12d270-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d833e21-515b-400f-b0fe-95cd417872e4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9424183} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.358714,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b1172e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","rebac_allow":false,"scope_allow":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":"2b1172e0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2b1172e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling 200 15ms","method":"POST","requestID":"2b1172e0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"320526c4-1132-4dce-b00d-992b6224648a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.950203} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.653818,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b12d270-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","rebac_allow":false,"scope_allow":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":"2b12d270-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} gateway-1 | {"time_local":"26/Aug/2024:15:02:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.212","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"level":"info","message":"POST /experiments? 201 205ms","method":"POST","requestID":"4bdf1d98c13ee096a5545779a49e8bdb","responseTime":205,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2b12d270-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling 200 14ms","method":"POST","requestID":"2b12d270-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2b156a80-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8","level":"info","message":"auth send jwt","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"07594c11-604f-4b44-a053-27ff27ae562c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9652908} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.825768,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.681031,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b156a80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","rebac_allow":false,"scope_allow":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":"2b156a80-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a35f66a3bd31857e8b4f9a47aafdff7f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2b156a80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling 200 14ms","method":"POST","requestID":"2b156a80-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f/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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.588123697Z"}]},"request_id":"7c5c9952-570b-4307-b442-3397ddb6daab","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9748454} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Building connection plan","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"92d2e105-e009-4dfb-bb99-2ad157437952"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"c3e5ae36-dff8-447b-bd2f-de6b05f15bf3"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"a402fb72-6658-45ae-ac2c-e5614fc575ac"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f"} device-1 | {"level":"info","message":"GET /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f? 200 18ms","method":"GET","requestID":"a35f66a3bd31857e8b4f9a47aafdff7f","responseTime":18,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f?"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.800361,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8","level":"info","message":"auth send jwt","requestID":"a6b86574422cd34fafa0e782e1aa248d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a6b86574422cd34fafa0e782e1aa248d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a6b86574422cd34fafa0e782e1aa248d"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.891631,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a6b86574422cd34fafa0e782e1aa248d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684529,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUyOX0.d5kaeN7SZp87svtD3kkpjOvp1eKHZlCdP-ksyGBIbJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a6b86574422cd34fafa0e782e1aa248d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"c12eb925-f260-4e36-a9f4-09ce886205aa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9937944} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8bfc838e-1a4c-4be8-8a12-6d15da32b0f3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9940295} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:07.646243917Z"}]},"request_id":"132e1aef-a9c6-4bf9-b6d1-6820e70f61d3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684529.9983296} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a6b86574422cd34fafa0e782e1aa248d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10'","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10'","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b"} 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":"2b1829a0-63bc-11ef-bd85-dbaeea89054b","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":"getDevicesByDeviceId succeeded","requestID":"a6b86574422cd34fafa0e782e1aa248d"} device-1 | {"level":"info","message":"GET /devices/68af4433-49c5-4ee1-9e76-07eccf97306f? 200 20ms","method":"GET","requestID":"a6b86574422cd34fafa0e782e1aa248d","responseTime":20,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/68af4433-49c5-4ee1-9e76-07eccf97306f? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a6b86574422cd34fafa0e782e1aa248d"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"2b1829a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10","device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4bdf1d98c13ee096a5545779a49e8bdb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2b21c690-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:10Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1e6e7fe1-8397-42a9-ad69-8b764815dcaa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684530.045694} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.867693,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b21c690-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","rebac_allow":false,"scope_allow":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":"2b21c690-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2b21c690-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling 200 12ms","method":"POST","requestID":"2b21c690-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2b23e970-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:10Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6cabc3cc-bd97-43c2-9e08-9a79b10ab278","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684530.0599017} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.611848,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b23e970-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2b23e970-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2b23e970-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling 200 10ms","method":"POST","requestID":"2b23e970-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling"} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"e2a8e848-38bd-4f05-a445-2d7209e80d10","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 550673749585864402 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:K9F0\r\na=ice-pwd:zxuKIbwa7D/qvOyHGcg1AeDn\r\na=ice-options:trickle\r\na=fingerprint:sha-256 CF:32:2C:D0:ED:D6:DE:5E:FE:4A:AE:4F:F0:3B:40:A4:67:D4:C2:DD:A4:D0:7E:1D:0F:34:D9:BE:0B:CF:E1:41\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3715861442 1 udp 2113937151 632ac088-f12e-478f-bc26-120681d6d060.local 50844 typ host generation 0 ufrag K9F0 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1498866109 1 udp 1677729535 141.24.211.56 50844 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag K9F0 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","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/e2a8e848-38bd-4f05-a445-2d7209e80d10' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e2a8e848-38bd-4f05-a445-2d7209e80d10","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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":"4f8059fe37a48016c0fef8c190c02e13","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4f8059fe37a48016c0fef8c190c02e13","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/9e27daf1-079e-4504-b1a4-60cd7ccdad0f'"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10"}}},"level":"info","message":"received a callback","requestID":"4f8059fe37a48016c0fef8c190c02e13"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"4f8059fe37a48016c0fef8c190c02e13","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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":"4f8059fe37a48016c0fef8c190c02e13"} device-1 | {"data":{"peerconnection":"e2a8e848-38bd-4f05-a445-2d7209e80d10","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"e2a8e848-38bd-4f05-a445-2d7209e80d10","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","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/e2a8e848-38bd-4f05-a445-2d7209e80d10' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e2a8e848-38bd-4f05-a445-2d7209e80d10","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c9473f77697473407ef74283a9c02de8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c9473f77697473407ef74283a9c02de8","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10"}}},"level":"info","message":"received a callback","requestID":"c9473f77697473407ef74283a9c02de8"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"2c6d8070-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe2a8e848-38bd-4f05-a445-2d7209e80d10","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"19d3bb43-942f-4ebe-b866-8e0fb13cd33e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.2225296} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.951216,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2c6d8070-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"2c6d8070-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"2c6d8070-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10 200 14ms","method":"GET","requestID":"2c6d8070-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 58ms","method":"POST","requestID":"c9473f77697473407ef74283a9c02de8","responseTime":58,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.064","http_referrer":"","http_user_agent":"node-fetch","requestID":"c9473f77697473407ef74283a9c02de8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c74fa80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a0885fc-d59a-4b00-a0b2-a82c7aebcfe6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.272648} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.361049,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2c74fa80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","rebac_allow":false,"scope_allow":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":"2c74fa80-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c74fa80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling 200 16ms","method":"POST","requestID":"2c74fa80-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c782ed0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY","level":"info","message":"auth send jwt","requestID":"97f83b374e46be68beae10274bbfb53b"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"97f83b374e46be68beae10274bbfb53b","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"969ec642-7ca6-44b7-a542-b518fa57e0c9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.293298} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.611504,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/46f6d829-af3e-4951-97dd-1941bebfc957","requestID":"97f83b374e46be68beae10274bbfb53b"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2c782ed0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","rebac_allow":false,"scope_allow":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":"2c782ed0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.457284,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c782ed0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling 200 19ms","method":"POST","requestID":"2c782ed0-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"97f83b374e46be68beae10274bbfb53b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684532,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"97f83b374e46be68beae10274bbfb53b","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/46f6d829-af3e-4951-97dd-1941bebfc957","requestID":"97f83b374e46be68beae10274bbfb53b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/46f6d829-af3e-4951-97dd-1941bebfc957 HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"97f83b374e46be68beae10274bbfb53b"} experiment-1 | {"level":"info","message":"GET /experiments/46f6d829-af3e-4951-97dd-1941bebfc957 200 22ms","method":"GET","requestID":"97f83b374e46be68beae10274bbfb53b","responseTime":22,"status":200,"url":"/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY","level":"info","message":"auth send jwt","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/46f6d829-af3e-4951-97dd-1941bebfc957","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.227887,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684532,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Attempting to finish experiment","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"2c8219e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.741217,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2c8219e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684532,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2c8219e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10","device":"9e27daf1-079e-4504-b1a4-60cd7ccdad0f","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"68af4433-49c5-4ee1-9e76-07eccf97306f","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/e2a8e848-38bd-4f05-a445-2d7209e80d10' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e2a8e848-38bd-4f05-a445-2d7209e80d10","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5e06c1acfb9dd1eb7d2a3c1209627d25","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5e06c1acfb9dd1eb7d2a3c1209627d25","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe2a8e848-38bd-4f05-a445-2d7209e80d10': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe2a8e848-38bd-4f05-a445-2d7209e80d10","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"3833f70b-9bdb-414c-b39f-2a84badedc2e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.3849127} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"baf390080a94a3c03830e326f3ab4222","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a068ab8a-8821-410b-a120-11081e07bf55","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.385255} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"baf390080a94a3c03830e326f3ab4222","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10"}}},"level":"info","message":"received a callback","requestID":"5e06c1acfb9dd1eb7d2a3c1209627d25"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"2c8219e0-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10"}}},"level":"info","message":"received a callback","requestID":"baf390080a94a3c03830e326f3ab4222"} device-1 | {"data":{"peerconnection":"e2a8e848-38bd-4f05-a445-2d7209e80d10","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"2c8219e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10 204 57ms","method":"DELETE","requestID":"2c8219e0-63bc-11ef-bd85-dbaeea89054b","responseTime":57,"status":204,"url":"/peerconnections/e2a8e848-38bd-4f05-a445-2d7209e80d10"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"},"level":"info","message":"Successfully finished experiment","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c8f8760-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e27daf1-079e-4504-b1a4-60cd7ccdad0f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1699de5-eb48-45d0-b7d0-4dd6026e82ad","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.444631} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.879754,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2c8f8760-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f","object_type":"device","rebac_allow":false,"scope_allow":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":"2c8f8760-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c8f8760-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F46f6d829-af3e-4951-97dd-1941bebfc957': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F46f6d829-af3e-4951-97dd-1941bebfc957","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"f0720183-4366-41c5-9fba-f3f1ce1abd17","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.4510567} device-1 | {"level":"info","message":"POST /devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/signaling 200 13ms","method":"POST","requestID":"2c8f8760-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/9e27daf1-079e-4504-b1a4-60cd7ccdad0f/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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d483cd6e-535f-449f-8a54-859d48950080","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.4516814} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2c921f70-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68af4433-49c5-4ee1-9e76-07eccf97306f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0be5ac4-9e54-403e-84c7-6208d22a97de","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.4626117} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.860026,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2c921f70-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f","object_type":"device","rebac_allow":false,"scope_allow":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":"2c921f70-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2c921f70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling 200 16ms","method":"POST","requestID":"2c921f70-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/68af4433-49c5-4ee1-9e76-07eccf97306f/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/46f6d829-af3e-4951-97dd-1941bebfc957","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971"} gateway-1 | {"time_local":"26/Aug/2024:15:02:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/46f6d829-af3e-4951-97dd-1941bebfc957 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.211","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971"} gateway-1 | {"time_local":"26/Aug/2024:15:02:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2597","request_time":"4.201","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e3ae3ad28e564e92809846b6402f3ca6"} experiment-1 | {"level":"info","message":"DELETE /experiments/46f6d829-af3e-4951-97dd-1941bebfc957 204 206ms","method":"DELETE","requestID":"f5655a9ddfe8a9cb6fb9ee68e01ef971","responseTime":206,"status":204,"url":"/experiments/46f6d829-af3e-4951-97dd-1941bebfc957"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 153ms","method":"POST","requestID":"5e06c1acfb9dd1eb7d2a3c1209627d25","responseTime":153,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.160","http_referrer":"","http_user_agent":"node-fetch","requestID":"5e06c1acfb9dd1eb7d2a3c1209627d25"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 151ms","method":"POST","requestID":"baf390080a94a3c03830e326f3ab4222","responseTime":151,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.160","http_referrer":"","http_user_agent":"node-fetch","requestID":"baf390080a94a3c03830e326f3ab4222"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY","level":"info","message":"auth send jwt","requestID":"2d699e30ec5d19b84cc00470ed458dab"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2d699e30ec5d19b84cc00470ed458dab","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2d699e30ec5d19b84cc00470ed458dab"} gateway-1 | {"time_local":"26/Aug/2024:15:02:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2506","request_time":"2.889","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"97b048e90913ac5083870935c5dcb3fa"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/68af4433-49c5-4ee1-9e76-07eccf97306f' closed"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.107067,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2d699e30ec5d19b84cc00470ed458dab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684532,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2d699e30ec5d19b84cc00470ed458dab","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/9e27daf1-079e-4504-b1a4-60cd7ccdad0f' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1fdf2444-6a0d-4af4-a4d0-ebee9fa8a474","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.5691233} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2d699e30ec5d19b84cc00470ed458dab","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a9a0c9a5-9887-43e3-97d6-154bead54800","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.576649} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"2d699e30ec5d19b84cc00470ed458dab","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"9d89b662-be84-4de4-b4e8-5bc2b7ccabed","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.5925603} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa446611-5121-4e68-a3f4-557b33559ef5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.5927327} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"2d699e30ec5d19b84cc00470ed458dab","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.592543581Z"}]},"request_id":"23914bfb-f736-4f51-9a68-d9e9e9611721","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.5980833} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2d699e30ec5d19b84cc00470ed458dab","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2d699e30ec5d19b84cc00470ed458dab"} device-1 | {"level":"info","message":"POST /devices? 201 56ms","method":"POST","requestID":"2d699e30ec5d19b84cc00470ed458dab","responseTime":56,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.064","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2d699e30ec5d19b84cc00470ed458dab"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY","level":"info","message":"auth send jwt","requestID":"dcad9bd2c415ba379c6faddfbdd940e6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dcad9bd2c415ba379c6faddfbdd940e6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"dcad9bd2c415ba379c6faddfbdd940e6"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.927182,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dcad9bd2c415ba379c6faddfbdd940e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684532,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzMn0.lT_9yTZ16z31dHHaR4mVeeTN-dsaDwIwTacdQAyEhvY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dcad9bd2c415ba379c6faddfbdd940e6","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"69abf8a8-bcc9-4991-9578-bccb88f695f2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.6248558} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"dcad9bd2c415ba379c6faddfbdd940e6","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c4ab9086-84f1-49b6-9337-ca7e9bcbe621","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.6302166} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"dcad9bd2c415ba379c6faddfbdd940e6","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"307df94b-a5c5-4e8e-a101-5be513fd3602","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.641138} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"385b6eab-ae96-425d-8466-e57fe8eced88","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.6412606} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"dcad9bd2c415ba379c6faddfbdd940e6","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.641117118Z"}]},"request_id":"f4acfdba-4077-43a0-b8e4-4477fac34cfc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684532.646371} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"dcad9bd2c415ba379c6faddfbdd940e6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"dcad9bd2c415ba379c6faddfbdd940e6"} gateway-1 | {"time_local":"26/Aug/2024:15:02:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dcad9bd2c415ba379c6faddfbdd940e6"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"dcad9bd2c415ba379c6faddfbdd940e6","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzM30.Wu-k-c6yd6rpaDFNAG908pekBAw6njt7C9vsCn7V41A","level":"info","message":"auth send jwt","requestID":"84c196290ba526954fd8c35fce0039c3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"84c196290ba526954fd8c35fce0039c3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"84c196290ba526954fd8c35fce0039c3"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:13Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.294262,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"84c196290ba526954fd8c35fce0039c3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684533,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzM30.Wu-k-c6yd6rpaDFNAG908pekBAw6njt7C9vsCn7V41A"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"84c196290ba526954fd8c35fce0039c3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.592543581Z"}]},"request_id":"19995315-16d0-4635-b1cf-3631e984b200","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684533.151327} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"84c196290ba526954fd8c35fce0039c3","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"91e9ae8f-fff9-46b7-946b-e2f0843bf2cd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684533.160598} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"84c196290ba526954fd8c35fce0039c3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.592543581Z"}]},"request_id":"7f28571b-b04a-4aee-b1ec-1a7ea59dc040","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684533.1739876} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"84c196290ba526954fd8c35fce0039c3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"84c196290ba526954fd8c35fce0039c3"} gateway-1 | {"time_local":"26/Aug/2024:15:02:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.049","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"84c196290ba526954fd8c35fce0039c3"} device-1 | {"level":"info","message":"PATCH /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f 200 42ms","method":"PATCH","requestID":"84c196290ba526954fd8c35fce0039c3","responseTime":42,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzM30.Wu-k-c6yd6rpaDFNAG908pekBAw6njt7C9vsCn7V41A","level":"info","message":"auth send jwt","requestID":"cc26c07a034b6b3aed7f113c4a68969b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"cc26c07a034b6b3aed7f113c4a68969b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"cc26c07a034b6b3aed7f113c4a68969b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:13Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.756758,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"cc26c07a034b6b3aed7f113c4a68969b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684533,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzM30.Wu-k-c6yd6rpaDFNAG908pekBAw6njt7C9vsCn7V41A"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cc26c07a034b6b3aed7f113c4a68969b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"cc26c07a034b6b3aed7f113c4a68969b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"cc26c07a034b6b3aed7f113c4a68969b"} device-1 | {"level":"info","message":"POST /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/websocket 200 21ms","method":"POST","requestID":"cc26c07a034b6b3aed7f113c4a68969b","responseTime":21,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"29d66a2e9b0826b07a51cfaeef39d7b0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"29d66a2e9b0826b07a51cfaeef39d7b0","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/3af558b8-178d-410b-93ba-589207be9bdd/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":"29d66a2e9b0826b07a51cfaeef39d7b0"} device-1 | {"level":"info","message":"OPTIONS /devices/3af558b8-178d-410b-93ba-589207be9bdd/websocket 200 2ms","method":"OPTIONS","requestID":"29d66a2e9b0826b07a51cfaeef39d7b0","responseTime":2,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0","level":"info","message":"auth send jwt","requestID":"07fa2c072a4013ca4dd9adf7ea23e6ba"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"07fa2c072a4013ca4dd9adf7ea23e6ba","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"07fa2c072a4013ca4dd9adf7ea23e6ba"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.270211,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"07fa2c072a4013ca4dd9adf7ea23e6ba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"07fa2c072a4013ca4dd9adf7ea23e6ba","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"07fa2c072a4013ca4dd9adf7ea23e6ba"} gateway-1 | {"time_local":"26/Aug/2024:15:02:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/3af558b8-178d-410b-93ba-589207be9bdd/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":"07fa2c072a4013ca4dd9adf7ea23e6ba"} device-1 | {"level":"info","message":"POST /devices/3af558b8-178d-410b-93ba-589207be9bdd/websocket 200 37ms","method":"POST","requestID":"07fa2c072a4013ca4dd9adf7ea23e6ba","responseTime":37,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0","level":"info","message":"auth send jwt","requestID":"73afde44be2047f47238d6b9d73efe9d"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"73afde44be2047f47238d6b9d73efe9d","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"73afde44be2047f47238d6b9d73efe9d"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.347374,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"73afde44be2047f47238d6b9d73efe9d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"73afde44be2047f47238d6b9d73efe9d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.592543581Z"}]},"request_id":"1c894f28-f2b0-445a-9662-ad5a9f6a8f44","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.7206237} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"73afde44be2047f47238d6b9d73efe9d","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"73afde44be2047f47238d6b9d73efe9d"} gateway-1 | {"time_local":"26/Aug/2024:15:02:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"73afde44be2047f47238d6b9d73efe9d"} device-1 | {"level":"info","message":"GET /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f? 200 24ms","method":"GET","requestID":"73afde44be2047f47238d6b9d73efe9d","responseTime":24,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0","level":"info","message":"auth send jwt","requestID":"29d50c333324418b543c37956ef582af"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"29d50c333324418b543c37956ef582af","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"29d50c333324418b543c37956ef582af"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.278315,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"29d50c333324418b543c37956ef582af","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"29d50c333324418b543c37956ef582af","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.641117118Z"}]},"request_id":"e793f956-ec62-43f3-82f1-a6a20156003c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.7535942} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"29d50c333324418b543c37956ef582af","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"29d50c333324418b543c37956ef582af"} gateway-1 | {"time_local":"26/Aug/2024:15:02:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3af558b8-178d-410b-93ba-589207be9bdd? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"29d50c333324418b543c37956ef582af"} device-1 | {"level":"info","message":"GET /devices/3af558b8-178d-410b-93ba-589207be9bdd? 200 19ms","method":"GET","requestID":"29d50c333324418b543c37956ef582af","responseTime":19,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0","level":"info","message":"auth send jwt","requestID":"1716ec0b163185a24bcc5b66468a0824"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1716ec0b163185a24bcc5b66468a0824","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"1716ec0b163185a24bcc5b66468a0824"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.330965,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1716ec0b163185a24bcc5b66468a0824","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1716ec0b163185a24bcc5b66468a0824","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Attempting to run experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Attempting to book experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully booked experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2dfad730-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2dfafe40-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.955465,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2dfad730-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2dfad730-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.732126,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2dfafe40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2dfafe40-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.592543581Z"}]},"request_id":"a38e9d9f-e877-44a5-a734-60046a75a3a1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.83084} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2dfad730-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.641117118Z"}]},"request_id":"ac0ffe26-0df3-4996-8eda-a258d9acf8c6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.8325768} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2dfafe40-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2dfad730-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f? 200 24ms","method":"GET","requestID":"2dfad730-63bc-11ef-bd85-dbaeea89054b","responseTime":24,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2dfafe40-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/3af558b8-178d-410b-93ba-589207be9bdd? 200 25ms","method":"GET","requestID":"2dfafe40-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Setting up experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully locked booking for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Attempting to update booking for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully updated booking for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully set up experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e075a50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2e078160-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e07cf80-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully running experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Received request.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34848","level":"info","msg":"Sent response.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.831341,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e075a50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"2e075a50-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.231952,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e078160-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"2e078160-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.641117118Z"}]},"request_id":"535c01a5-a39b-4fb8-b548-c08d7347f0ce","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.923563} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fd04a788-181b-404f-b7fc-d5bae13b3da0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9236705} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"2e078160-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.592543581Z"}]},"request_id":"8115c268-0c7d-471d-a67f-17a75a810225","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9264205} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.897896,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e07cf80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 22ms","method":"POST","requestID":"2e07cf80-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"2e075a50-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e078160-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/3af558b8-178d-410b-93ba-589207be9bdd? 200 33ms","method":"GET","requestID":"2e078160-63bc-11ef-bd85-dbaeea89054b","responseTime":33,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdd97c794-8cce-40f4-95be-5c403c1915ea#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdd97c794-8cce-40f4-95be-5c403c1915ea","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"47fcbdeb-87de-47f9-864a-50bf7c80d4b3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9361167} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1748f120-db52-48ea-a180-19dc6d6c0590","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9367611} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e07cf80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"1716ec0b163185a24bcc5b66468a0824","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling 200 37ms","method":"POST","requestID":"2e07cf80-63bc-11ef-bd85-dbaeea89054b","responseTime":37,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2e075a50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f? 200 41ms","method":"GET","requestID":"2e075a50-63bc-11ef-bd85-dbaeea89054b","responseTime":41,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e0ead50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e0efb70-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"1716ec0b163185a24bcc5b66468a0824"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b1c084e5-827d-47a0-a04c-350562368525","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9548306} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.27512,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.194","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"level":"info","message":"POST /experiments? 201 187ms","method":"POST","requestID":"1716ec0b163185a24bcc5b66468a0824","responseTime":187,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e0ead50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","rebac_allow":false,"scope_allow":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":"2e0ead50-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2b4ae578-dc43-426f-b8b1-b41bca99e065","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9579794} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.623983,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e0efb70-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","rebac_allow":false,"scope_allow":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":"2e0efb70-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0","level":"info","message":"auth send jwt","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e0ead50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling 200 15ms","method":"POST","requestID":"2e0ead50-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e0efb70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling 200 17ms","method":"POST","requestID":"2e0efb70-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.995389,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e11e1a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5d46c45-35d9-4186-b5f3-69c8f53b1d0d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9752502} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.592543581Z"}]},"request_id":"6fec796d-138c-4a56-b206-8bb1b8e9ee9d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9757721} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.49928,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e11e1a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","rebac_allow":false,"scope_allow":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":"2e11e1a0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c"} gateway-1 | {"time_local":"26/Aug/2024:15:02:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c"} device-1 | {"level":"info","message":"GET /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f? 200 16ms","method":"GET","requestID":"b3960fc0544a3cfe9e70d0b2bdf1291c","responseTime":16,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e11e1a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling 200 11ms","method":"POST","requestID":"2e11e1a0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Building connection plan","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"1ad4f913-02bd-40d7-8380-42344aaa6e03"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"23a4a759-3b51-43c3-919f-1b7097bc0127"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"3f01959b-4d40-4d7f-a2f1-e5ac1b879695"}]},"level":"info","message":"Built pairwise service configurations","requestID":"1716ec0b163185a24bcc5b66468a0824"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"1716ec0b163185a24bcc5b66468a0824"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0","level":"info","message":"auth send jwt","requestID":"c71f81a5982e008aa295483ca8ec0b6d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c71f81a5982e008aa295483ca8ec0b6d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c71f81a5982e008aa295483ca8ec0b6d"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.949589,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.804139,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c71f81a5982e008aa295483ca8ec0b6d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684534,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzNH0.3fNP5YPyP3S8MHbGe1zxxlOdg0F8bfocIe8SCD-6JM0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c71f81a5982e008aa295483ca8ec0b6d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:12.641117118Z"}]},"request_id":"2649e62f-de81-4003-80c2-03154b31f973","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684534.9980693} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c71f81a5982e008aa295483ca8ec0b6d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c71f81a5982e008aa295483ca8ec0b6d"} gateway-1 | {"time_local":"26/Aug/2024:15:02:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3af558b8-178d-410b-93ba-589207be9bdd? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c71f81a5982e008aa295483ca8ec0b6d"} device-1 | {"level":"info","message":"GET /devices/3af558b8-178d-410b-93ba-589207be9bdd? 200 15ms","method":"GET","requestID":"c71f81a5982e008aa295483ca8ec0b6d","responseTime":15,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a1f65594-8534-4e0d-86c9-ed17131dced4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684535.0046942} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"55ab19f0-8b00-44c7-8b08-c7ad807438af","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684535.0049872} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d'","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d'","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"2e1452a0-63bc-11ef-bd85-dbaeea89054b"} 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":"2e1452a0-63bc-11ef-bd85-dbaeea89054b","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":"2e1452a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d","device":"3af558b8-178d-410b-93ba-589207be9bdd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"1716ec0b163185a24bcc5b66468a0824"} device-1 | {"device":"3af558b8-178d-410b-93ba-589207be9bdd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"3af558b8-178d-410b-93ba-589207be9bdd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e201270-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:15Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dfed7cff-39f2-4b96-894a-e9bd09d4964f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684535.0683393} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.500194,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e201270-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2e201270-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e201270-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling 200 10ms","method":"POST","requestID":"2e201270-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2e21e730-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:15Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dc485a31-dcaf-4f0a-b0e1-1f76e351811b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684535.07953} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.432725,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e21e730-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2e21e730-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2e21e730-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling 200 8ms","method":"POST","requestID":"2e21e730-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling"} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"9ae95f23-eafc-4071-b6a3-4c81234c044d","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 8659897332229373787 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:yFaG\r\na=ice-pwd:kUvDe1vtiA1MVQ8f0aywdVZV\r\na=ice-options:trickle\r\na=fingerprint:sha-256 C7:12:F8:5A:17:94:1E:74:2E:25:87:BD:9E:1E:6A:63:35:A4:25:A9:62:7F:21:A3:79:31:7C:41:CB:44:61:35\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"3af558b8-178d-410b-93ba-589207be9bdd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:758258065 1 udp 2113937151 a1e98339-c1e0-4f1c-87ec-53d955d84324.local 36895 typ host generation 0 ufrag yFaG network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"3af558b8-178d-410b-93ba-589207be9bdd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"3af558b8-178d-410b-93ba-589207be9bdd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3189356674 1 udp 1677729535 141.24.211.56 36895 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag yFaG network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"3af558b8-178d-410b-93ba-589207be9bdd","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/9ae95f23-eafc-4071-b6a3-4c81234c044d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9ae95f23-eafc-4071-b6a3-4c81234c044d","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3af558b8-178d-410b-93ba-589207be9bdd","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/3af558b8-178d-410b-93ba-589207be9bdd'"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5b342956880c6a292a2c106951270592","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5b342956880c6a292a2c106951270592","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d"}}},"level":"info","message":"received a callback","requestID":"5b342956880c6a292a2c106951270592"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"5b342956880c6a292a2c106951270592","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","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":"5b342956880c6a292a2c106951270592"} device-1 | {"data":{"peerconnection":"9ae95f23-eafc-4071-b6a3-4c81234c044d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"3af558b8-178d-410b-93ba-589207be9bdd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"9ae95f23-eafc-4071-b6a3-4c81234c044d","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3af558b8-178d-410b-93ba-589207be9bdd","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/9ae95f23-eafc-4071-b6a3-4c81234c044d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9ae95f23-eafc-4071-b6a3-4c81234c044d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e94a54865a9255647fd45fc0812f2e6f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"e94a54865a9255647fd45fc0812f2e6f","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d"}}},"level":"info","message":"received a callback","requestID":"e94a54865a9255647fd45fc0812f2e6f"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"2f693440-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9ae95f23-eafc-4071-b6a3-4c81234c044d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bfe35485-c6d9-4bc0-8e9c-ad39edcafb5b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.230742} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.786128,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2f693440-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"2f693440-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"2f693440-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d 200 20ms","method":"GET","requestID":"2f693440-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 59ms","method":"POST","requestID":"e94a54865a9255647fd45fc0812f2e6f","responseTime":59,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.065","http_referrer":"","http_user_agent":"node-fetch","requestID":"e94a54865a9255647fd45fc0812f2e6f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f712380-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"870365e8-5ac3-437f-a404-7eeb811c4adb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.279349} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.658733,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2f712380-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","rebac_allow":false,"scope_allow":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":"2f712380-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f712380-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling 200 17ms","method":"POST","requestID":"2f712380-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f7457d0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ","level":"info","message":"auth send jwt","requestID":"ebbbe2ce9c570f9172229425e702a8c4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ebbbe2ce9c570f9172229425e702a8c4","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","requestID":"ebbbe2ce9c570f9172229425e702a8c4"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef37b749-1231-4c73-84b8-f6045fbacf05","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.3019958} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.584683,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2f7457d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","rebac_allow":false,"scope_allow":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":"2f7457d0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.600974,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ebbbe2ce9c570f9172229425e702a8c4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684537,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"ebbbe2ce9c570f9172229425e702a8c4","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f7457d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling 200 21ms","method":"POST","requestID":"2f7457d0-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","requestID":"ebbbe2ce9c570f9172229425e702a8c4"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ebbbe2ce9c570f9172229425e702a8c4"} experiment-1 | {"level":"info","message":"GET /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea 200 26ms","method":"GET","requestID":"ebbbe2ce9c570f9172229425e702a8c4","responseTime":26,"status":200,"url":"/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ","level":"info","message":"auth send jwt","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.47646,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d348eb3afd5fbec583b5e3ad2e2203cf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684537,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Attempting to finish experiment","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"2f7d5880-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.225323,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2f7d5880-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684537,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2f7d5880-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d","device":"3af558b8-178d-410b-93ba-589207be9bdd","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/9ae95f23-eafc-4071-b6a3-4c81234c044d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9ae95f23-eafc-4071-b6a3-4c81234c044d","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"2c091a93-8a2c-434b-92e3-f4db18ecac6f","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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":"d6f73decf402d18fab8bd64852dc8d9a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d6f73decf402d18fab8bd64852dc8d9a","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7d2519dcdae47c5aaa433005585ebc11","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"7d2519dcdae47c5aaa433005585ebc11","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d"}}},"level":"info","message":"received a callback","requestID":"d6f73decf402d18fab8bd64852dc8d9a"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9ae95f23-eafc-4071-b6a3-4c81234c044d': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9ae95f23-eafc-4071-b6a3-4c81234c044d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"42fb3c4f-33d7-4537-a12d-c26d8cbdf390","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.3881464} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67e391f4-18d8-460a-b1de-30ae1e16fae9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.3885994} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d"}}},"level":"info","message":"received a callback","requestID":"7d2519dcdae47c5aaa433005585ebc11"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"2f7d5880-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"9ae95f23-eafc-4071-b6a3-4c81234c044d","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"2f7d5880-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d 204 55ms","method":"DELETE","requestID":"2f7d5880-63bc-11ef-bd85-dbaeea89054b","responseTime":55,"status":204,"url":"/peerconnections/9ae95f23-eafc-4071-b6a3-4c81234c044d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"},"level":"info","message":"Successfully finished experiment","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f8a02b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3af558b8-178d-410b-93ba-589207be9bdd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9fd1fff-48a3-4341-ab31-6913cf7ad28b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.4424796} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.611353,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2f8a02b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3af558b8-178d-410b-93ba-589207be9bdd","object_type":"device","rebac_allow":false,"scope_allow":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":"2f8a02b0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f8a02b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling 200 17ms","method":"POST","requestID":"2f8a02b0-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/3af558b8-178d-410b-93ba-589207be9bdd/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdd97c794-8cce-40f4-95be-5c403c1915ea': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fdd97c794-8cce-40f4-95be-5c403c1915ea","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"6cf11789-63be-4d78-a61f-16ecbd4d2b31","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.4541028} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3390bbab-762e-48fe-9152-f05a3cf3bcd5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.4544191} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"2f8d5e10-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2c091a93-8a2c-434b-92e3-f4db18ecac6f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92bbd535-4796-40aa-b43a-fbe6475e2e3e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.4654922} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.743119,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2f8d5e10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f","object_type":"device","rebac_allow":false,"scope_allow":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":"2f8d5e10-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"2f8d5e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling 200 16ms","method":"POST","requestID":"2f8d5e10-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/2c091a93-8a2c-434b-92e3-f4db18ecac6f/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.202","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2597","request_time":"4.320","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3970d7c180b224eb6eff892587363fb4"} experiment-1 | {"level":"info","message":"DELETE /experiments/dd97c794-8cce-40f4-95be-5c403c1915ea 204 196ms","method":"DELETE","requestID":"d348eb3afd5fbec583b5e3ad2e2203cf","responseTime":196,"status":204,"url":"/experiments/dd97c794-8cce-40f4-95be-5c403c1915ea"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","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":"d6f73decf402d18fab8bd64852dc8d9a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 145ms","method":"POST","requestID":"d6f73decf402d18fab8bd64852dc8d9a","responseTime":145,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 143ms","method":"POST","requestID":"7d2519dcdae47c5aaa433005585ebc11","responseTime":143,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","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":"7d2519dcdae47c5aaa433005585ebc11"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ","level":"info","message":"auth send jwt","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2506","request_time":"2.862","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"544d9e47565a0b565bcc901085554405"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.806082,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684537,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","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/2c091a93-8a2c-434b-92e3-f4db18ecac6f' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e2d665da-2636-40c6-b57e-bd72f5ad0328","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.5641983} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","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/3af558b8-178d-410b-93ba-589207be9bdd' 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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f1c42441-cc74-4190-af6f-0fa7e32952bc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.57144} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"06f9f8a7-aa4e-4c5d-a960-2a57a1581971","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.581126} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1683e434-6a40-4a6d-af96-300f1d44d1e9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.58127} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.581112361Z"}]},"request_id":"fa6e5e0e-1d87-4714-bb74-e667bf3ae38f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.58689} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"78c124febf1f9e957b9c18ac5dd3cfc3","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ","level":"info","message":"auth send jwt","requestID":"8f77eb9f3663dcc4f0e3844888069704"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8f77eb9f3663dcc4f0e3844888069704","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8f77eb9f3663dcc4f0e3844888069704"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.74591,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8f77eb9f3663dcc4f0e3844888069704","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684537,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzN30.U3Tv0cUVX3JJaOu3Q1ClYkGMfTD0HYVYQvebEzu1yfQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8f77eb9f3663dcc4f0e3844888069704","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"889096c6-e554-43f7-8c1a-83a8c1fb7ebf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.6182032} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8f77eb9f3663dcc4f0e3844888069704","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"faf0bf07-ecfa-4493-adcc-5d864b5a16e1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.624} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"8f77eb9f3663dcc4f0e3844888069704","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"62046590-f48d-4f4c-9775-27679d78a693","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.6349185} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4dde6952-08b7-4963-892d-831f78dc78ea","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.6351058} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"8f77eb9f3663dcc4f0e3844888069704","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.634906566Z"}]},"request_id":"a5600135-3b83-4b92-953e-551f6b22d5e5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684537.6416214} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8f77eb9f3663dcc4f0e3844888069704","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8f77eb9f3663dcc4f0e3844888069704"} gateway-1 | {"time_local":"26/Aug/2024:15:02:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8f77eb9f3663dcc4f0e3844888069704"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"8f77eb9f3663dcc4f0e3844888069704","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"afb4293bac8b71b4840c0fa25148d771"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"afb4293bac8b71b4840c0fa25148d771","responseTime":5,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"9ab9966c30287f676de93fe7a78c193d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9ab9966c30287f676de93fe7a78c193d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"afb4293bac8b71b4840c0fa25148d771"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9ab9966c30287f676de93fe7a78c193d"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.667927,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"afb4293bac8b71b4840c0fa25148d771","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"afb4293bac8b71b4840c0fa25148d771","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.930934,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9ab9966c30287f676de93fe7a78c193d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9ab9966c30287f676de93fe7a78c193d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.634906566Z"}]},"request_id":"955380de-8e13-41d9-a199-e550b7ffdcc3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.1391098} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"afb4293bac8b71b4840c0fa25148d771","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.581112361Z"}]},"request_id":"76665174-f066-44c6-a02e-4d3ac851667a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.1398106} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9ab9966c30287f676de93fe7a78c193d","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3692e6e1-2664-45fd-b9c4-d1c87dce5692","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.1452873} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"afb4293bac8b71b4840c0fa25148d771","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a7c0dc04-4ea6-4384-8b71-c412bd7364c8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.1469948} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9ab9966c30287f676de93fe7a78c193d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.581112361Z"}]},"request_id":"38d5e0cc-87dd-49cb-b701-cf632e7b9030","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.1510036} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9ab9966c30287f676de93fe7a78c193d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9ab9966c30287f676de93fe7a78c193d"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.038","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9ab9966c30287f676de93fe7a78c193d"} device-1 | {"level":"info","message":"PATCH /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5 200 29ms","method":"PATCH","requestID":"9ab9966c30287f676de93fe7a78c193d","responseTime":29,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"6546b625092240bbc01cd8c79fca097a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6546b625092240bbc01cd8c79fca097a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6546b625092240bbc01cd8c79fca097a"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.634906566Z"}]},"request_id":"8ba63666-6424-4231-b8d4-ab05a8c4cf65","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.1612368} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"afb4293bac8b71b4840c0fa25148d771","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.070605,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"afb4293bac8b71b4840c0fa25148d771"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6546b625092240bbc01cd8c79fca097a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.049","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"afb4293bac8b71b4840c0fa25148d771"} device-1 | {"level":"info","message":"PATCH /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1 200 43ms","method":"PATCH","requestID":"afb4293bac8b71b4840c0fa25148d771","responseTime":43,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6546b625092240bbc01cd8c79fca097a","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"31654f31d4b6ae0416f56f066154dcf0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"31654f31d4b6ae0416f56f066154dcf0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"31654f31d4b6ae0416f56f066154dcf0"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672608,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"31654f31d4b6ae0416f56f066154dcf0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"31654f31d4b6ae0416f56f066154dcf0","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6546b625092240bbc01cd8c79fca097a"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6546b625092240bbc01cd8c79fca097a"} device-1 | {"level":"info","message":"POST /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/websocket 200 22ms","method":"POST","requestID":"6546b625092240bbc01cd8c79fca097a","responseTime":22,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"31654f31d4b6ae0416f56f066154dcf0"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"31654f31d4b6ae0416f56f066154dcf0"} device-1 | {"level":"info","message":"POST /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/websocket 200 22ms","method":"POST","requestID":"31654f31d4b6ae0416f56f066154dcf0","responseTime":22,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.841851,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a88ab0067607af9ca7d11ba26e4fb4aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.581112361Z"}]},"request_id":"3d85b690-d907-4b43-83a5-a1de90f0e515","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.2362194} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa"} device-1 | {"level":"info","message":"GET /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5? 200 18ms","method":"GET","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa","responseTime":18,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a88ab0067607af9ca7d11ba26e4fb4aa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"8b205f6314a0497b889837dd64fb76da"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8b205f6314a0497b889837dd64fb76da","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8b205f6314a0497b889837dd64fb76da"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.2623,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8b205f6314a0497b889837dd64fb76da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8b205f6314a0497b889837dd64fb76da","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.634906566Z"}]},"request_id":"7b4734a3-6407-417c-bcdf-324679969d7a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.2605994} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"8b205f6314a0497b889837dd64fb76da","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8b205f6314a0497b889837dd64fb76da"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8b205f6314a0497b889837dd64fb76da"} device-1 | {"level":"info","message":"GET /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1? 200 20ms","method":"GET","requestID":"8b205f6314a0497b889837dd64fb76da","responseTime":20,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"d73c67da2a159c1bb777eb0451b803ba"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d73c67da2a159c1bb777eb0451b803ba","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d73c67da2a159c1bb777eb0451b803ba"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.712719,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d73c67da2a159c1bb777eb0451b803ba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d73c67da2a159c1bb777eb0451b803ba","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Attempting to run experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Attempting to book experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully booked experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3012e1c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"30132fe0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.213572,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3012e1c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"3012e1c0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.092278,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"30132fe0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"30132fe0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.581112361Z"}]},"request_id":"58829f63-2815-4c7e-a8a4-16af49b34e70","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.3476248} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3012e1c0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.634906566Z"}]},"request_id":"e33cc7dd-072a-422b-98ce-f064fc3c80f1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.3495486} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"30132fe0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3012e1c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5? 200 23ms","method":"GET","requestID":"3012e1c0-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"30132fe0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1? 200 22ms","method":"GET","requestID":"30132fe0-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Setting up experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully set up experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"301fb300-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"30200120-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"30204f40-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully running experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.393385,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"301fb300-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"301fb300-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.19006,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"30200120-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"30200120-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.110499,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"55de2ff0-28b4-4a87-9217-9ef437594105","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.4318233} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"30204f40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","rebac_allow":false,"scope_allow":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":"30204f40-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"30204f40-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling 200 21ms","method":"POST","requestID":"30204f40-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.581112361Z"}]},"request_id":"a3d8c952-3935-42e4-a0d3-aab2df87e7dd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.439823} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"301fb300-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.634906566Z"}]},"request_id":"238fb845-757b-4b57-928c-f3cd158037d5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.4434657} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"30200120-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa33eb7c8-0429-4c2e-8fe5-395796805462#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa33eb7c8-0429-4c2e-8fe5-395796805462","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"e289e1a1-b329-4a6a-be1f-ae66b85f9a58","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.4510121} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3024e320-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"200a3691-dd9e-456e-acaf-b82811ea6463","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.451466} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"d73c67da2a159c1bb777eb0451b803ba","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"301fb300-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5? 200 43ms","method":"GET","requestID":"301fb300-63bc-11ef-bd85-dbaeea89054b","responseTime":43,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"30200120-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1? 200 44ms","method":"GET","requestID":"30200120-63bc-11ef-bd85-dbaeea89054b","responseTime":44,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2d85ac47-9925-40d8-a690-5d33bd50b3d4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.4616952} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.727698,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3024e320-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","rebac_allow":false,"scope_allow":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":"3024e320-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3024e320-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling 200 18ms","method":"POST","requestID":"3024e320-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d73c67da2a159c1bb777eb0451b803ba"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3027c950-63bc-11ef-bd85-dbaeea89054b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"815","request_time":"0.199","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"level":"info","message":"POST /experiments? 201 193ms","method":"POST","requestID":"d73c67da2a159c1bb777eb0451b803ba","responseTime":193,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"212abe5c-95d2-4ce4-9702-81e26375fbc5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.476958} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.02935,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"722ca713efd373e49307cb5e98f4dac5"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3027c950-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","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 6ms","method":"GET","requestID":"722ca713efd373e49307cb5e98f4dac5","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"3027c950-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"722ca713efd373e49307cb5e98f4dac5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3027c950-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} device-1 | {"level":"info","message":"POST /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling 200 17ms","method":"POST","requestID":"3027c950-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.41987,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"722ca713efd373e49307cb5e98f4dac5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"722ca713efd373e49307cb5e98f4dac5","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"302ad690-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"24ff340b-8d72-4c45-a8a7-92c49023def6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.4951134} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.581112361Z"}]},"request_id":"44dc6ab0-8d4f-4d5f-842d-6fa9177ecb85","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.4955287} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"722ca713efd373e49307cb5e98f4dac5","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.382344,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"302ad690-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","rebac_allow":false,"scope_allow":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":"302ad690-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"722ca713efd373e49307cb5e98f4dac5"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"722ca713efd373e49307cb5e98f4dac5"} device-1 | {"level":"info","message":"GET /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5? 200 22ms","method":"GET","requestID":"722ca713efd373e49307cb5e98f4dac5","responseTime":22,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"302ad690-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling 200 18ms","method":"POST","requestID":"302ad690-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Building connection plan","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"49a67394-bc34-47b8-befc-b0e23a3a5247"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"0ac035f0-b3b8-4e6e-8a7e-ec202daa8136"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"34dfcc72-11df-4372-b43b-4d332b4abcae"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d73c67da2a159c1bb777eb0451b803ba"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d73c67da2a159c1bb777eb0451b803ba"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w","level":"info","message":"auth send jwt","requestID":"fe55be2a5d767718ef296dc218eb14ed"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"fe55be2a5d767718ef296dc218eb14ed","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fe55be2a5d767718ef296dc218eb14ed"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Received request.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:34854","level":"info","msg":"Sent response.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":2.18704,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.106833,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"fe55be2a5d767718ef296dc218eb14ed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684538,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDUzOH0.RxXWZTgKbdFXbaqSJg19UdpF5zufLPIIfNM9BOapx9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fe55be2a5d767718ef296dc218eb14ed","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:17.634906566Z"}]},"request_id":"b8f619cf-bfa5-4b67-ac22-5f3f016e76fb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.53086} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fe55be2a5d767718ef296dc218eb14ed","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fe55be2a5d767718ef296dc218eb14ed"} gateway-1 | {"time_local":"26/Aug/2024:15:02:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fe55be2a5d767718ef296dc218eb14ed"} device-1 | {"level":"info","message":"GET /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1? 200 23ms","method":"GET","requestID":"fe55be2a5d767718ef296dc218eb14ed","responseTime":23,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"08147e0a-2199-46d5-962c-ced425c38bfc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.5409236} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d77d97bc-4071-45a4-b697-427dd2d9945b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.5411184} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0'","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0'","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"302e8010-63bc-11ef-bd85-dbaeea89054b"} 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":"302e8010-63bc-11ef-bd85-dbaeea89054b","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":"302e8010-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d73c67da2a159c1bb777eb0451b803ba"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3047d470-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"21583345-05ed-4b78-b1ac-4b455f249eda","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.6879048} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.220269,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3047d470-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","rebac_allow":false,"scope_allow":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":"3047d470-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3047d470-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling 200 17ms","method":"POST","requestID":"3047d470-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"304ae1b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"da3f6842-3fdb-4e68-affe-29a24be4598a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684538.7067807} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.10127,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"304ae1b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","rebac_allow":false,"scope_allow":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":"304ae1b0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"304ae1b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling 200 16ms","method":"POST","requestID":"304ae1b0-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling"} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/187382d2-0bc3-4edd-9d21-3012b6e455e0' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0f1172a3f14d5e10bf53dd2b40dda54b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0f1172a3f14d5e10bf53dd2b40dda54b","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0"}}},"level":"info","message":"received a callback","requestID":"0f1172a3f14d5e10bf53dd2b40dda54b"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"0f1172a3f14d5e10bf53dd2b40dda54b"} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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 8ms","method":"POST","requestID":"0f1172a3f14d5e10bf53dd2b40dda54b","responseTime":8,"status":200,"url":"/callbacks/experiment"} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MH0.LegMq3T4CySLxAnbY7RMfBwNYwlp3pyHD9Xrs9FCXbM","level":"info","message":"auth send jwt","requestID":"32c16971f88b7ec885acc18f23083e12"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"32c16971f88b7ec885acc18f23083e12","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"32c16971f88b7ec885acc18f23083e12"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:20Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.224105,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"32c16971f88b7ec885acc18f23083e12","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684540,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MH0.LegMq3T4CySLxAnbY7RMfBwNYwlp3pyHD9Xrs9FCXbM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"32c16971f88b7ec885acc18f23083e12","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"32c16971f88b7ec885acc18f23083e12"} gateway-1 | {"time_local":"26/Aug/2024:15:02:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 HTTP/1.1","status": "200","body_bytes_sent":"886","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"32c16971f88b7ec885acc18f23083e12"} experiment-1 | {"level":"info","message":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 200 15ms","method":"GET","requestID":"32c16971f88b7ec885acc18f23083e12","responseTime":15,"status":200,"url":"/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"} device-1 | {"data":{"peerconnection":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MH0.LegMq3T4CySLxAnbY7RMfBwNYwlp3pyHD9Xrs9FCXbM","level":"info","message":"auth send jwt","requestID":"c619baf03a2261d0fc16a6ea55f2b4f5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c619baf03a2261d0fc16a6ea55f2b4f5","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"c619baf03a2261d0fc16a6ea55f2b4f5"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:20Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.765753,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c619baf03a2261d0fc16a6ea55f2b4f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684540,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MH0.LegMq3T4CySLxAnbY7RMfBwNYwlp3pyHD9Xrs9FCXbM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c619baf03a2261d0fc16a6ea55f2b4f5","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"c619baf03a2261d0fc16a6ea55f2b4f5"} experiment-1 | {"level":"info","message":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 200 15ms","method":"GET","requestID":"c619baf03a2261d0fc16a6ea55f2b4f5","responseTime":15,"status":200,"url":"/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"} gateway-1 | {"time_local":"26/Aug/2024:15:02:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 HTTP/1.1","status": "200","body_bytes_sent":"886","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c619baf03a2261d0fc16a6ea55f2b4f5"} device-1 | {"data":{"peerconnection":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MH0.LegMq3T4CySLxAnbY7RMfBwNYwlp3pyHD9Xrs9FCXbM","level":"info","message":"auth send jwt","requestID":"752999d638d56531ab36726e58a587ab"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"752999d638d56531ab36726e58a587ab","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"752999d638d56531ab36726e58a587ab"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.286554,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"752999d638d56531ab36726e58a587ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684540,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MH0.LegMq3T4CySLxAnbY7RMfBwNYwlp3pyHD9Xrs9FCXbM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"752999d638d56531ab36726e58a587ab","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"752999d638d56531ab36726e58a587ab"} gateway-1 | {"time_local":"26/Aug/2024:15:02:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 HTTP/1.1","status": "200","body_bytes_sent":"886","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"752999d638d56531ab36726e58a587ab"} experiment-1 | {"level":"info","message":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 200 19ms","method":"GET","requestID":"752999d638d56531ab36726e58a587ab","responseTime":19,"status":200,"url":"/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0941bdd6c4852e34558d943bc180f051","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0941bdd6c4852e34558d943bc180f051","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0"}}},"level":"info","message":"received a callback","requestID":"0941bdd6c4852e34558d943bc180f051"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"31b65890-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F187382d2-0bc3-4edd-9d21-3012b6e455e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e936d5a4-544f-44fb-8d52-e972db1be25c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.088951} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.18084,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"31b65890-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0","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":"31b65890-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MX0.jskYsbjB15Aoz7cxODGbGFoE2u4wfinqUG8ZKv8pw_U","level":"info","message":"auth send jwt","requestID":"bb3e098dcb4d1fc6643b67d9900cb38f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bb3e098dcb4d1fc6643b67d9900cb38f","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"bb3e098dcb4d1fc6643b67d9900cb38f"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.959112,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"bb3e098dcb4d1fc6643b67d9900cb38f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684541,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MX0.jskYsbjB15Aoz7cxODGbGFoE2u4wfinqUG8ZKv8pw_U"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bb3e098dcb4d1fc6643b67d9900cb38f","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"bb3e098dcb4d1fc6643b67d9900cb38f"} gateway-1 | {"time_local":"26/Aug/2024:15:02:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 HTTP/1.1","status": "200","body_bytes_sent":"886","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bb3e098dcb4d1fc6643b67d9900cb38f"} experiment-1 | {"level":"info","message":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 200 11ms","method":"GET","requestID":"bb3e098dcb4d1fc6643b67d9900cb38f","responseTime":11,"status":200,"url":"/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"31b65890-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0 200 90ms","method":"GET","requestID":"31b65890-63bc-11ef-bd85-dbaeea89054b","responseTime":90,"status":200,"url":"/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MX0.jskYsbjB15Aoz7cxODGbGFoE2u4wfinqUG8ZKv8pw_U","level":"info","message":"auth send jwt","requestID":"bb7135e29613a0056b9db1f9e0501bb1"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"bb7135e29613a0056b9db1f9e0501bb1","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"bb7135e29613a0056b9db1f9e0501bb1"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.098403,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"bb7135e29613a0056b9db1f9e0501bb1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684541,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MX0.jskYsbjB15Aoz7cxODGbGFoE2u4wfinqUG8ZKv8pw_U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bb7135e29613a0056b9db1f9e0501bb1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 212ms","method":"POST","requestID":"0941bdd6c4852e34558d943bc180f051","responseTime":212,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.217","http_referrer":"","http_user_agent":"node-fetch","requestID":"0941bdd6c4852e34558d943bc180f051"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"31d57950-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"bb7135e29613a0056b9db1f9e0501bb1"} gateway-1 | {"time_local":"26/Aug/2024:15:02:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 HTTP/1.1","status": "200","body_bytes_sent":"888","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bb7135e29613a0056b9db1f9e0501bb1"} experiment-1 | {"level":"info","message":"GET /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 200 45ms","method":"GET","requestID":"bb7135e29613a0056b9db1f9e0501bb1","responseTime":45,"status":200,"url":"/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"96d2acc6-7de4-459e-8b97-611f1ecb1ea0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.290488} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.809488,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"31d57950-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","rebac_allow":false,"scope_allow":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":"31d57950-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MX0.jskYsbjB15Aoz7cxODGbGFoE2u4wfinqUG8ZKv8pw_U","level":"info","message":"auth send jwt","requestID":"533db74343fc84627d8d380d870aa451"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"533db74343fc84627d8d380d870aa451","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"533db74343fc84627d8d380d870aa451"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"31d57950-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling 200 12ms","method":"POST","requestID":"31d57950-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"31d79c30-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.642248,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"533db74343fc84627d8d380d870aa451","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684541,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MX0.jskYsbjB15Aoz7cxODGbGFoE2u4wfinqUG8ZKv8pw_U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"533db74343fc84627d8d380d870aa451","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6063ec39-addc-4588-b643-939a8c73a280","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.3056223} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.868766,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"31d79c30-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","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":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Attempting to finish experiment","requestID":"533db74343fc84627d8d380d870aa451"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"31d79c30-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"31d922d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"31d79c30-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.751676,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} device-1 | {"level":"info","message":"POST /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling 200 13ms","method":"POST","requestID":"31d79c30-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"31d922d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684541,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0MX0.jskYsbjB15Aoz7cxODGbGFoE2u4wfinqUG8ZKv8pw_U"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"31d922d0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dd6e4673-3124-4f47-96a7-ee29a88be3a1","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/187382d2-0bc3-4edd-9d21-3012b6e455e0' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F187382d2-0bc3-4edd-9d21-3012b6e455e0': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F187382d2-0bc3-4edd-9d21-3012b6e455e0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"703b90a6-e786-4773-b23b-d3c355287324","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.326185} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"49617e01-572d-4be9-abce-4acf0572ce8e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.3265126} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"83f72553b22a43525ffa508f178a395b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"83f72553b22a43525ffa508f178a395b","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"31d922d0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19dafc6f59cf2005b7af3f5a888868d7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"19dafc6f59cf2005b7af3f5a888868d7","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0"}}},"level":"info","message":"received a callback","requestID":"83f72553b22a43525ffa508f178a395b"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0"}}},"level":"info","message":"received a callback","requestID":"19dafc6f59cf2005b7af3f5a888868d7"} device-1 | {"data":{"peerconnection":"187382d2-0bc3-4edd-9d21-3012b6e455e0","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"31d922d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0 204 240ms","method":"DELETE","requestID":"31d922d0-63bc-11ef-bd85-dbaeea89054b","responseTime":240,"status":204,"url":"/peerconnections/187382d2-0bc3-4edd-9d21-3012b6e455e0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"},"level":"info","message":"Successfully finished experiment","requestID":"533db74343fc84627d8d380d870aa451"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"321122c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdd6e4673-3124-4f47-96a7-ee29a88be3a1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"65ce2c78-6f21-458f-a156-e85a3ee4045f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.681754} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.307086,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"321122c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"321122c0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"321122c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling 200 11ms","method":"POST","requestID":"321122c0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/dd6e4673-3124-4f47-96a7-ee29a88be3a1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"32131e90-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71af0c83-1a4b-4ee1-ad43-db1de18036f5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.693925} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.411696,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"32131e90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5","object_type":"device","rebac_allow":false,"scope_allow":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":"32131e90-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"32131e90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling 200 9ms","method":"POST","requestID":"32131e90-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa33eb7c8-0429-4c2e-8fe5-395796805462': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa33eb7c8-0429-4c2e-8fe5-395796805462","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"be64c2e0-23fd-43a1-8bfe-d6c09d52faea","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.7425892} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"71a35ef2-95ed-459c-870a-9ad4639d6d79","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684541.743108} authorization-1 | {"level":"info","message":"POST /relations/update 200 70ms","method":"POST","requestID":"533db74343fc84627d8d380d870aa451","responseTime":70,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462","requestID":"533db74343fc84627d8d380d870aa451"} gateway-1 | {"time_local":"26/Aug/2024:15:02:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.937","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"533db74343fc84627d8d380d870aa451"} gateway-1 | {"time_local":"26/Aug/2024:15:02:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2506","request_time":"4.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"886bad0bf6bb4e2053eb0e100bd83279"} gateway-1 | {"time_local":"26/Aug/2024:15:02:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2506","request_time":"4.046","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f37301705753158f4a007b479ade7d8f"} experiment-1 | {"level":"info","message":"DELETE /experiments/a33eb7c8-0429-4c2e-8fe5-395796805462 204 935ms","method":"DELETE","requestID":"533db74343fc84627d8d380d870aa451","responseTime":935,"status":204,"url":"/experiments/a33eb7c8-0429-4c2e-8fe5-395796805462"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 903ms","method":"POST","requestID":"83f72553b22a43525ffa508f178a395b","responseTime":904,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Mn0.CjXlFkVjtkSpRXhxumlhs_O-xIyIt2FJtGKUX16nEWY","level":"info","message":"auth send jwt","requestID":"d96682ed65eb0cf0514b63908468df13"} gateway-1 | {"time_local":"26/Aug/2024:15:02:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.908","http_referrer":"","http_user_agent":"node-fetch","requestID":"83f72553b22a43525ffa508f178a395b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d96682ed65eb0cf0514b63908468df13","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/c9a08a7a-bcf6-4266-86e8-ee02b41c5bb5' closed"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 905ms","method":"POST","requestID":"19dafc6f59cf2005b7af3f5a888868d7","responseTime":905,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.911","http_referrer":"","http_user_agent":"node-fetch","requestID":"19dafc6f59cf2005b7af3f5a888868d7"} device-1 | {"level":"info","message":"postDevices called","requestID":"d96682ed65eb0cf0514b63908468df13"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:22Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.8645,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d96682ed65eb0cf0514b63908468df13","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684542,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Mn0.CjXlFkVjtkSpRXhxumlhs_O-xIyIt2FJtGKUX16nEWY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d96682ed65eb0cf0514b63908468df13","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/dd6e4673-3124-4f47-96a7-ee29a88be3a1' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa92ae091-caf1-42d3-8073-a805028ac2a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"905f6eab-6add-4167-81a5-5013de62960d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.6601722} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d96682ed65eb0cf0514b63908468df13","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9be85a77-4dcd-4e9c-aba8-67affcecb00d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.6700263} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"d96682ed65eb0cf0514b63908468df13","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa92ae091-caf1-42d3-8073-a805028ac2a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d594545b-3188-4c03-ae05-c2538eb91c70","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.7732487} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fab2566a-164d-4428-b882-39f717737abf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.7736447} authorization-1 | {"level":"info","message":"POST /relations/update 200 106ms","method":"POST","requestID":"d96682ed65eb0cf0514b63908468df13","responseTime":107,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa92ae091-caf1-42d3-8073-a805028ac2a1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa92ae091-caf1-42d3-8073-a805028ac2a1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:22.773225061Z"}]},"request_id":"af1b94bb-0e4b-49d2-8b2c-df3c24fbca5b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.780848} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d96682ed65eb0cf0514b63908468df13","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d96682ed65eb0cf0514b63908468df13"} gateway-1 | {"time_local":"26/Aug/2024:15:02:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.554","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d96682ed65eb0cf0514b63908468df13"} device-1 | {"level":"info","message":"POST /devices? 201 544ms","method":"POST","requestID":"d96682ed65eb0cf0514b63908468df13","responseTime":544,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Mn0.CjXlFkVjtkSpRXhxumlhs_O-xIyIt2FJtGKUX16nEWY","level":"info","message":"auth send jwt","requestID":"acb04fbd18f93e6c88dd40e64debe678"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"acb04fbd18f93e6c88dd40e64debe678","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"acb04fbd18f93e6c88dd40e64debe678"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:22Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.849607,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"acb04fbd18f93e6c88dd40e64debe678","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684542,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Mn0.CjXlFkVjtkSpRXhxumlhs_O-xIyIt2FJtGKUX16nEWY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"acb04fbd18f93e6c88dd40e64debe678","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda279683-9f3f-42aa-8e4b-5800233fe7ce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5a22a56c-6ec8-46b7-99d1-70dfbaac3dcd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.8762531} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"acb04fbd18f93e6c88dd40e64debe678","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f316dce8-2eaf-41cc-a8a4-50afa022bd38","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.881427} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"acb04fbd18f93e6c88dd40e64debe678","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda279683-9f3f-42aa-8e4b-5800233fe7ce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"02722668-6e74-4e4b-a869-045dad2a4687","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.937655} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"01b94f34-1dd1-4b61-a2b9-e34b565626f5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.9378285} authorization-1 | {"level":"info","message":"POST /relations/update 200 60ms","method":"POST","requestID":"acb04fbd18f93e6c88dd40e64debe678","responseTime":60,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda279683-9f3f-42aa-8e4b-5800233fe7ce","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda279683-9f3f-42aa-8e4b-5800233fe7ce","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:22.937419546Z"}]},"request_id":"efdd54b0-c811-46e9-8dcc-8b43c31ca121","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684542.9438086} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"acb04fbd18f93e6c88dd40e64debe678","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"acb04fbd18f93e6c88dd40e64debe678"} gateway-1 | {"time_local":"26/Aug/2024:15:02:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"acb04fbd18f93e6c88dd40e64debe678"} device-1 | {"level":"info","message":"POST /devices? 201 158ms","method":"POST","requestID":"acb04fbd18f93e6c88dd40e64debe678","responseTime":158,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Mn0.CjXlFkVjtkSpRXhxumlhs_O-xIyIt2FJtGKUX16nEWY","level":"info","message":"auth send jwt","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:22Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.251637,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684542,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Mn0.CjXlFkVjtkSpRXhxumlhs_O-xIyIt2FJtGKUX16nEWY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0f6951f-8af7-4b2e-85ab-b596979def8f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4762e174-83d0-46c3-9608-eeb96035d9ac","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.1295896} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"84639bd9-5b97-47eb-ad8f-4c513d61293f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.1391058} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0f6951f-8af7-4b2e-85ab-b596979def8f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"867d3dab-e96a-44f7-b041-d87dbd47b39c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.2731085} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f3d0bc9c-47bb-4a3e-94b8-9c63253c205c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.2733443} authorization-1 | {"level":"info","message":"POST /relations/update 200 139ms","method":"POST","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","responseTime":139,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0f6951f-8af7-4b2e-85ab-b596979def8f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0f6951f-8af7-4b2e-85ab-b596979def8f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.273087535Z"}]},"request_id":"d0f7008f-6723-4344-88e1-578449d84879","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.2834263} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.338","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba"} device-1 | {"level":"info","message":"POST /devices? 201 330ms","method":"POST","requestID":"c162f30cb3ed2670cbd1ddd0c23896ba","responseTime":330,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"04119152892e30654fd68dea5d03baf8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"04119152892e30654fd68dea5d03baf8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"04119152892e30654fd68dea5d03baf8"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.1375,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"04119152892e30654fd68dea5d03baf8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"04119152892e30654fd68dea5d03baf8","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F339faf85-ec66-439d-b44f-7b3e60b24cd5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b4fcc540-12ac-43ea-8e68-b30a59b6a8a7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.4279547} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"04119152892e30654fd68dea5d03baf8","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"564b93c6-be01-4ed2-af91-7f90c970680d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.433628} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"04119152892e30654fd68dea5d03baf8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F339faf85-ec66-439d-b44f-7b3e60b24cd5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a6418b44-c810-4222-a770-96f38c1dd646","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.575522} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8ff939e-19d7-4b8a-aa99-8f71fd38fd6a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.5758293} authorization-1 | {"level":"info","message":"POST /relations/update 200 144ms","method":"POST","requestID":"04119152892e30654fd68dea5d03baf8","responseTime":144,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F339faf85-ec66-439d-b44f-7b3e60b24cd5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F339faf85-ec66-439d-b44f-7b3e60b24cd5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.575501624Z"}]},"request_id":"c79bba7e-ef2b-4e70-bd33-87dcc11ba569","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.580822} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"04119152892e30654fd68dea5d03baf8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"04119152892e30654fd68dea5d03baf8"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.294","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"04119152892e30654fd68dea5d03baf8"} device-1 | {"level":"info","message":"POST /devices? 201 289ms","method":"POST","requestID":"04119152892e30654fd68dea5d03baf8","responseTime":289,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"1c0efd5453f7076234b4db7d51d6f18a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1c0efd5453f7076234b4db7d51d6f18a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1c0efd5453f7076234b4db7d51d6f18a"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.248643,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1c0efd5453f7076234b4db7d51d6f18a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1c0efd5453f7076234b4db7d51d6f18a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff1f202f2-0e83-48df-a1e2-83aedca8faee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8e056b40-79f7-4d92-8532-14fbf56f4627","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6082363} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1c0efd5453f7076234b4db7d51d6f18a","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76095070-a861-49f7-b923-63b38b6cb0f3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6131501} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"1c0efd5453f7076234b4db7d51d6f18a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff1f202f2-0e83-48df-a1e2-83aedca8faee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"ca5d90f3-0b6a-4ea5-9e08-a4ce162a01e9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6243064} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"96fdda2c-54ac-4838-8796-533792792456","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6244519} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"1c0efd5453f7076234b4db7d51d6f18a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff1f202f2-0e83-48df-a1e2-83aedca8faee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff1f202f2-0e83-48df-a1e2-83aedca8faee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.624289530Z"}]},"request_id":"4076698b-2e36-4acb-a13f-9ef0b64e4153","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6282978} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1c0efd5453f7076234b4db7d51d6f18a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1c0efd5453f7076234b4db7d51d6f18a"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1c0efd5453f7076234b4db7d51d6f18a"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"1c0efd5453f7076234b4db7d51d6f18a","responseTime":39,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"614f4aa40e22af5c6b26a672e1c25789"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"614f4aa40e22af5c6b26a672e1c25789","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"614f4aa40e22af5c6b26a672e1c25789"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.648108,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"614f4aa40e22af5c6b26a672e1c25789","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"614f4aa40e22af5c6b26a672e1c25789","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40e72e8c-e2c7-436d-9f55-60988597d2b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2d5a00c9-0e38-4753-9352-35a76f216b86","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6573343} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"614f4aa40e22af5c6b26a672e1c25789","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"533d4c8e-528b-432b-91ef-2c313268e1a8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6620545} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"614f4aa40e22af5c6b26a672e1c25789","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40e72e8c-e2c7-436d-9f55-60988597d2b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d5dac8ea-e2ad-481c-9f9b-979115bf2777","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6739671} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd310e56-de15-4a99-827d-bd75c23f436b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.674078} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"614f4aa40e22af5c6b26a672e1c25789","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40e72e8c-e2c7-436d-9f55-60988597d2b1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F40e72e8c-e2c7-436d-9f55-60988597d2b1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.673949551Z"}]},"request_id":"0f7a5e9b-aa4b-4389-b625-95c6a70d21a7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6781154} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"614f4aa40e22af5c6b26a672e1c25789","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"614f4aa40e22af5c6b26a672e1c25789"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"614f4aa40e22af5c6b26a672e1c25789"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"614f4aa40e22af5c6b26a672e1c25789","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"a88cd77e50e08e1e40356fd6d1820562"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a88cd77e50e08e1e40356fd6d1820562","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a88cd77e50e08e1e40356fd6d1820562"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.680964,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a88cd77e50e08e1e40356fd6d1820562","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a88cd77e50e08e1e40356fd6d1820562","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd40c2bcb-d48c-4cf0-9774-2d4034572c36","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f2330fb9-515a-4e55-9070-292e15f92a07","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.6991105} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a88cd77e50e08e1e40356fd6d1820562","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"54352f5a-e21a-48ee-bafd-aaeb7843479f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.703302} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a88cd77e50e08e1e40356fd6d1820562","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd40c2bcb-d48c-4cf0-9774-2d4034572c36","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"8ed5acc7-ca11-4cae-b37e-21944e64ff29","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7111382} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa633bb8-11c4-487c-bbad-1503a52867ad","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7112792} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"a88cd77e50e08e1e40356fd6d1820562","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd40c2bcb-d48c-4cf0-9774-2d4034572c36","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd40c2bcb-d48c-4cf0-9774-2d4034572c36","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.711124583Z"}]},"request_id":"7ba5ae7d-f88f-4195-9abe-489e013c3a75","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7149584} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a88cd77e50e08e1e40356fd6d1820562","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a88cd77e50e08e1e40356fd6d1820562"} device-1 | {"level":"info","message":"POST /devices? 201 31ms","method":"POST","requestID":"a88cd77e50e08e1e40356fd6d1820562","responseTime":31,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.035","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a88cd77e50e08e1e40356fd6d1820562"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"2e5801f8152ad021a7a0cf5ea265d78c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2e5801f8152ad021a7a0cf5ea265d78c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2e5801f8152ad021a7a0cf5ea265d78c"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.286533,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e5801f8152ad021a7a0cf5ea265d78c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2e5801f8152ad021a7a0cf5ea265d78c","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F812a8ad7-60dc-419f-b8f5-b53e8ed20555","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7c878f79-e1c8-4e68-a971-1fb797461039","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7409828} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2e5801f8152ad021a7a0cf5ea265d78c","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e249e896-602b-4963-be7a-423c426587f7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.745065} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"2e5801f8152ad021a7a0cf5ea265d78c","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F812a8ad7-60dc-419f-b8f5-b53e8ed20555","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"9441bd07-62a7-4cd2-900a-811e2955f8c2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7552328} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"53076c79-5380-44b6-92af-8ab4f0767c3f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.755487} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"2e5801f8152ad021a7a0cf5ea265d78c","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F812a8ad7-60dc-419f-b8f5-b53e8ed20555","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F812a8ad7-60dc-419f-b8f5-b53e8ed20555","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.755216357Z"}]},"request_id":"5977a1f1-98a9-4b84-ae73-cfdc6e09496a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7593234} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2e5801f8152ad021a7a0cf5ea265d78c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2e5801f8152ad021a7a0cf5ea265d78c"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2e5801f8152ad021a7a0cf5ea265d78c"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"2e5801f8152ad021a7a0cf5ea265d78c","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"c1f5fb9ea38f88c192e856a7769e7fff"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c1f5fb9ea38f88c192e856a7769e7fff","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c1f5fb9ea38f88c192e856a7769e7fff"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.754383,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c1f5fb9ea38f88c192e856a7769e7fff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c1f5fb9ea38f88c192e856a7769e7fff","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc250e3c5-07fd-4c48-b631-d94d54bfe1de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f405bed9-34e3-46eb-8bc1-a615992f0665","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7827241} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c1f5fb9ea38f88c192e856a7769e7fff","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"801cb729-7bb1-4b9d-95eb-94de073b2312","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7866535} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c1f5fb9ea38f88c192e856a7769e7fff","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc250e3c5-07fd-4c48-b631-d94d54bfe1de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"352dee95-f79e-4bac-9531-50b3792d50fe","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7968428} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10fd067f-39e9-4216-b359-23c77f18093e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.7969446} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"c1f5fb9ea38f88c192e856a7769e7fff","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc250e3c5-07fd-4c48-b631-d94d54bfe1de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc250e3c5-07fd-4c48-b631-d94d54bfe1de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.796824587Z"}]},"request_id":"d4b39303-5888-406e-9fe6-dcca0de86ce3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8016524} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c1f5fb9ea38f88c192e856a7769e7fff","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c1f5fb9ea38f88c192e856a7769e7fff"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.041","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c1f5fb9ea38f88c192e856a7769e7fff"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"c1f5fb9ea38f88c192e856a7769e7fff","responseTime":36,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"659f9124b50e39565c5ed403fec42b63"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"659f9124b50e39565c5ed403fec42b63","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"659f9124b50e39565c5ed403fec42b63"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.724976,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"659f9124b50e39565c5ed403fec42b63","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"659f9124b50e39565c5ed403fec42b63","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2288755-f40c-41fc-a200-10ebff887be3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"edcf2cc2-ea2a-4e7e-8ed2-97c812f6e0e5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8290784} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"659f9124b50e39565c5ed403fec42b63","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"07df48f3-3e33-4448-ba13-4d48ecddb0c4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8334863} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"659f9124b50e39565c5ed403fec42b63","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2288755-f40c-41fc-a200-10ebff887be3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"38d27153-37ea-4b47-b410-8855de5b0fb7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8437505} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"faffa20e-d6b2-4aa3-9716-bb26af4ba5a2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.843866} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"659f9124b50e39565c5ed403fec42b63","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2288755-f40c-41fc-a200-10ebff887be3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff2288755-f40c-41fc-a200-10ebff887be3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.843730006Z"}]},"request_id":"e17e298e-03ac-43ed-b59d-30f99b43c752","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8480697} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"659f9124b50e39565c5ed403fec42b63","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"659f9124b50e39565c5ed403fec42b63"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"278","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"659f9124b50e39565c5ed403fec42b63"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"659f9124b50e39565c5ed403fec42b63","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.634349,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f49f8632-58f7-4aac-bf65-1d59869226dc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8721342} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e7882bb4-aac4-42dd-8c3c-d56c33f8ef9f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.876476} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"826c0223-b165-462a-8532-55c838ea65ab","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8856823} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f102cbf5-bfed-453d-9a4c-47032f47c0ee","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8858416} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.885660172Z"}]},"request_id":"62989b05-12e6-4753-a039-b37edb8abeb4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.8896122} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1069","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91"} device-1 | {"level":"info","message":"POST /devices? 201 35ms","method":"POST","requestID":"cc73b519c2aab4d1d1e8ab7b91ccee91","responseTime":35,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"884835023ad441dacf028c2bb4f1d47e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"884835023ad441dacf028c2bb4f1d47e","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"884835023ad441dacf028c2bb4f1d47e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.745281,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"884835023ad441dacf028c2bb4f1d47e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"884835023ad441dacf028c2bb4f1d47e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2e0eb808-c484-4e2e-b08d-577f8a6529f4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9115956} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"884835023ad441dacf028c2bb4f1d47e","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"37edddce-d592-4869-8d13-00164002801e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9163485} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"884835023ad441dacf028c2bb4f1d47e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"c2de21e5-54ed-43b2-880e-8534b2c49daa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9318247} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f19a0ce-833d-42a4-866f-ced5bce1c4e6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9320176} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"884835023ad441dacf028c2bb4f1d47e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.931807416Z"}]},"request_id":"2904a515-72e5-48d5-9271-bb599e724870","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9368045} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"884835023ad441dacf028c2bb4f1d47e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"884835023ad441dacf028c2bb4f1d47e"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1347","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"884835023ad441dacf028c2bb4f1d47e"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"884835023ad441dacf028c2bb4f1d47e","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"59d41a087ccd01411e56bbf80a210422"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"59d41a087ccd01411e56bbf80a210422","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"59d41a087ccd01411e56bbf80a210422"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.760977,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"59d41a087ccd01411e56bbf80a210422","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"59d41a087ccd01411e56bbf80a210422","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7ccc9a80-373b-4270-a7b9-01f8b8940ce1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.96291} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"59d41a087ccd01411e56bbf80a210422","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dd6638da-d237-48e1-a32e-a48dfe2ba70f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9675848} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"59d41a087ccd01411e56bbf80a210422","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"b756ff46-07b5-4194-8efd-86ee45d7f716","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9787028} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59d3a68c-d748-4482-b2d2-b37968c1c4f1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.978879} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"59d41a087ccd01411e56bbf80a210422","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.978688328Z"}]},"request_id":"a2b91337-1b9a-4be7-8f9a-d697f15ac48e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684543.9837449} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"59d41a087ccd01411e56bbf80a210422","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"59d41a087ccd01411e56bbf80a210422"} gateway-1 | {"time_local":"26/Aug/2024:15:02:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1070","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"59d41a087ccd01411e56bbf80a210422"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"59d41a087ccd01411e56bbf80a210422","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o","level":"info","message":"auth send jwt","requestID":"0e7d75d3784c8debdb683341929a944c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0e7d75d3784c8debdb683341929a944c","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0e7d75d3784c8debdb683341929a944c"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.68341,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0e7d75d3784c8debdb683341929a944c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684543,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0M30.GZ9i4xjB5BGoIA9Ygqweqh4E1JF6r-lZVDC0FAFuU6o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0e7d75d3784c8debdb683341929a944c","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.885660172Z"}]},"request_id":"bd5a472a-519b-46df-a006-d4d1d7c820f3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0031824} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0e7d75d3784c8debdb683341929a944c","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6eb86c15-bda7-4d90-a992-e0af0df792a7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0088756} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0e7d75d3784c8debdb683341929a944c","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.885660172Z"}]},"request_id":"ec88162b-d9aa-4eae-9b04-a55538c972b2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0246317} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0e7d75d3784c8debdb683341929a944c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0e7d75d3784c8debdb683341929a944c"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/68723330-f30c-4832-8fe8-7733a57896fa? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.037","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0e7d75d3784c8debdb683341929a944c"} device-1 | {"level":"info","message":"PATCH /devices/68723330-f30c-4832-8fe8-7733a57896fa? 200 34ms","method":"PATCH","requestID":"0e7d75d3784c8debdb683341929a944c","responseTime":34,"status":200,"url":"/devices/68723330-f30c-4832-8fe8-7733a57896fa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.942465,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0134d08-6032-45ac-89a3-291775f925bd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f72d50f42d5eacc7fce8029bfd6d6e82","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b0134d08-6032-45ac-89a3-291775f925bd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.931807416Z"}]},"request_id":"f2ca4e0c-4d2c-4caf-991a-a3898124c865","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0435643} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"323f74c3-096b-4b64-b365-89927975c592","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0488825} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.931807416Z"}]},"request_id":"2d3c9767-1107-4ff8-ae23-e0d7567d611e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0588381} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b0134d08-6032-45ac-89a3-291775f925bd? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82"} device-1 | {"level":"info","message":"PATCH /devices/b0134d08-6032-45ac-89a3-291775f925bd? 200 29ms","method":"PATCH","requestID":"f72d50f42d5eacc7fce8029bfd6d6e82","responseTime":29,"status":200,"url":"/devices/b0134d08-6032-45ac-89a3-291775f925bd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.98988,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cd59d310-f858-4626-a5c0-f4881a283daf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"af2ccd38f5bdf0c3cfed728d8906eaea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cd59d310-f858-4626-a5c0-f4881a283daf","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.978688328Z"}]},"request_id":"da94ef36-dd97-4797-8088-abc046545b13","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0776043} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9e7b7cf0-5244-4921-8397-a2dce7e8a8b1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0828848} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.978688328Z"}]},"request_id":"f5f176f2-75aa-4a6d-811a-876efb399231","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.0920012} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/cd59d310-f858-4626-a5c0-f4881a283daf? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea"} device-1 | {"level":"info","message":"PATCH /devices/cd59d310-f858-4626-a5c0-f4881a283daf? 200 27ms","method":"PATCH","requestID":"af2ccd38f5bdf0c3cfed728d8906eaea","responseTime":27,"status":200,"url":"/devices/cd59d310-f858-4626-a5c0-f4881a283daf?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"42d3f1a12b721d306477f1cb53da6054"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"42d3f1a12b721d306477f1cb53da6054","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42d3f1a12b721d306477f1cb53da6054"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.12302,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42d3f1a12b721d306477f1cb53da6054","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"42d3f1a12b721d306477f1cb53da6054","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F68723330-f30c-4832-8fe8-7733a57896fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.885660172Z"}]},"request_id":"3b0ac885-624d-4d20-80e3-16437ef8e428","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.1101363} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42d3f1a12b721d306477f1cb53da6054","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.596671,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a92ae091-caf1-42d3-8073-a805028ac2a1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42d3f1a12b721d306477f1cb53da6054","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/a92ae091-caf1-42d3-8073-a805028ac2a1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"42d3f1a12b721d306477f1cb53da6054","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.741889,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Received request.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0134d08-6032-45ac-89a3-291775f925bd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42d3f1a12b721d306477f1cb53da6054","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b0134d08-6032-45ac-89a3-291775f925bd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"42d3f1a12b721d306477f1cb53da6054","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Sent response.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.841125,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.747752,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da279683-9f3f-42aa-8e4b-5800233fe7ce","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42d3f1a12b721d306477f1cb53da6054","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/da279683-9f3f-42aa-8e4b-5800233fe7ce","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"42d3f1a12b721d306477f1cb53da6054","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0f6951f-8af7-4b2e-85ab-b596979def8f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42d3f1a12b721d306477f1cb53da6054","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/f0f6951f-8af7-4b2e-85ab-b596979def8f","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"42d3f1a12b721d306477f1cb53da6054","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42d3f1a12b721d306477f1cb53da6054"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/68723330-f30c-4832-8fe8-7733a57896fa? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"42d3f1a12b721d306477f1cb53da6054"} device-1 | {"level":"info","message":"GET /devices/68723330-f30c-4832-8fe8-7733a57896fa? 200 38ms","method":"GET","requestID":"42d3f1a12b721d306477f1cb53da6054","responseTime":38,"status":200,"url":"/devices/68723330-f30c-4832-8fe8-7733a57896fa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"4b6712767b912488c6cd7b32b2ba8c7a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4b6712767b912488c6cd7b32b2ba8c7a"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.707056,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b0134d08-6032-45ac-89a3-291775f925bd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4b6712767b912488c6cd7b32b2ba8c7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b0134d08-6032-45ac-89a3-291775f925bd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb0134d08-6032-45ac-89a3-291775f925bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.931807416Z"}]},"request_id":"23c81585-3781-4830-8693-7a13d8474cb2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.1514668} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.032674,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Received request.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Sent response.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.474053,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.059445,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/339faf85-ec66-439d-b44f-7b3e60b24cd5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4b6712767b912488c6cd7b32b2ba8c7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/339faf85-ec66-439d-b44f-7b3e60b24cd5","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f1f202f2-0e83-48df-a1e2-83aedca8faee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4b6712767b912488c6cd7b32b2ba8c7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/f1f202f2-0e83-48df-a1e2-83aedca8faee","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/40e72e8c-e2c7-436d-9f55-60988597d2b1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4b6712767b912488c6cd7b32b2ba8c7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/40e72e8c-e2c7-436d-9f55-60988597d2b1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.929907,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Received request.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4b6712767b912488c6cd7b32b2ba8c7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44618","level":"info","msg":"Received request.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Sent response.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.817556,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44618","level":"info","msg":"Sent response.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.780507,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cd59d310-f858-4626-a5c0-f4881a283daf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4b6712767b912488c6cd7b32b2ba8c7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cd59d310-f858-4626-a5c0-f4881a283daf","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d40c2bcb-d48c-4cf0-9774-2d4034572c36","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4b6712767b912488c6cd7b32b2ba8c7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d40c2bcb-d48c-4cf0-9774-2d4034572c36","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4b6712767b912488c6cd7b32b2ba8c7a"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b0134d08-6032-45ac-89a3-291775f925bd? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.036","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4b6712767b912488c6cd7b32b2ba8c7a"} device-1 | {"level":"info","message":"GET /devices/b0134d08-6032-45ac-89a3-291775f925bd? 200 33ms","method":"GET","requestID":"4b6712767b912488c6cd7b32b2ba8c7a","responseTime":33,"status":200,"url":"/devices/b0134d08-6032-45ac-89a3-291775f925bd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"1913fe95e109e6a8eb150721fd1dedc2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1913fe95e109e6a8eb150721fd1dedc2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1913fe95e109e6a8eb150721fd1dedc2"} authorization-1 | {"client_addr":"127.0.0.1:44618","level":"info","msg":"Received request.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44618","level":"info","msg":"Sent response.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.758335,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cd59d310-f858-4626-a5c0-f4881a283daf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1913fe95e109e6a8eb150721fd1dedc2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cd59d310-f858-4626-a5c0-f4881a283daf","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"1913fe95e109e6a8eb150721fd1dedc2","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcd59d310-f858-4626-a5c0-f4881a283daf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:23.978688328Z"}]},"request_id":"892728c7-a65a-4e03-9ede-c4826c9dbf08","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.1866832} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1913fe95e109e6a8eb150721fd1dedc2","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:44618","level":"info","msg":"Received request.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44618","level":"info","msg":"Sent response.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.653152,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Received request.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44602","level":"info","msg":"Sent response.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.725691,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.737776,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.667793,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/812a8ad7-60dc-419f-b8f5-b53e8ed20555","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1913fe95e109e6a8eb150721fd1dedc2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/812a8ad7-60dc-419f-b8f5-b53e8ed20555","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1913fe95e109e6a8eb150721fd1dedc2","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c250e3c5-07fd-4c48-b631-d94d54bfe1de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1913fe95e109e6a8eb150721fd1dedc2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/c250e3c5-07fd-4c48-b631-d94d54bfe1de","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1913fe95e109e6a8eb150721fd1dedc2","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f2288755-f40c-41fc-a200-10ebff887be3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1913fe95e109e6a8eb150721fd1dedc2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/f2288755-f40c-41fc-a200-10ebff887be3","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1913fe95e109e6a8eb150721fd1dedc2","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1913fe95e109e6a8eb150721fd1dedc2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/68723330-f30c-4832-8fe8-7733a57896fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1913fe95e109e6a8eb150721fd1dedc2","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1913fe95e109e6a8eb150721fd1dedc2"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cd59d310-f858-4626-a5c0-f4881a283daf? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1913fe95e109e6a8eb150721fd1dedc2"} device-1 | {"level":"info","message":"GET /devices/cd59d310-f858-4626-a5c0-f4881a283daf? 200 21ms","method":"GET","requestID":"1913fe95e109e6a8eb150721fd1dedc2","responseTime":21,"status":200,"url":"/devices/cd59d310-f858-4626-a5c0-f4881a283daf?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"23e616dc6886849b62be052798e4a4f7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"23e616dc6886849b62be052798e4a4f7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"23e616dc6886849b62be052798e4a4f7"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.835057,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"23e616dc6886849b62be052798e4a4f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"23e616dc6886849b62be052798e4a4f7","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f449b879-c4e5-4158-a5ce-3c0d56835af0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2249703} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"23e616dc6886849b62be052798e4a4f7","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"de7c1e8c-a5e0-4f24-83b8-c630b86d37df","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2295308} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"23e616dc6886849b62be052798e4a4f7","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"2dec2d33-78ed-46f4-b903-b35a06138282","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.240641} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a2efa580-028c-4d57-806d-35dd41ebc420","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2412305} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"23e616dc6886849b62be052798e4a4f7","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.240609622Z"}]},"request_id":"c549eab5-c5db-46e6-a2b4-18e6a8a0913a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2451336} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"23e616dc6886849b62be052798e4a4f7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"23e616dc6886849b62be052798e4a4f7"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"284","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"23e616dc6886849b62be052798e4a4f7"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"23e616dc6886849b62be052798e4a4f7","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"3c6defe9bea2e86684f8144c3e89f6da"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3c6defe9bea2e86684f8144c3e89f6da","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3c6defe9bea2e86684f8144c3e89f6da"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.643337,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c6defe9bea2e86684f8144c3e89f6da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c6defe9bea2e86684f8144c3e89f6da","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda36d286-8a3d-44fb-a961-9a55855e504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"d8a1cf26-18bb-494c-bdfc-73c660c1a00c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2723856} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3c6defe9bea2e86684f8144c3e89f6da","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31ad8c96-1a67-4b12-aab9-c17e4ceaf694","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2818015} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3c6defe9bea2e86684f8144c3e89f6da","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda36d286-8a3d-44fb-a961-9a55855e504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"4d9b6cb5-68aa-4cac-bdc3-bdaeb305e22f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2925382} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ecf4ccce-b9db-4238-9617-f4304e21d14c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.292775} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"3c6defe9bea2e86684f8144c3e89f6da","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda36d286-8a3d-44fb-a961-9a55855e504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda36d286-8a3d-44fb-a961-9a55855e504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.292519421Z"}]},"request_id":"0a019b14-6675-436c-b59e-93605584ac5c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.2967374} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3c6defe9bea2e86684f8144c3e89f6da","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3c6defe9bea2e86684f8144c3e89f6da"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"545","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3c6defe9bea2e86684f8144c3e89f6da"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"3c6defe9bea2e86684f8144c3e89f6da","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74","level":"info","message":"auth send jwt","requestID":"b91e51df88ed186e1d89fe9a9bd03657"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b91e51df88ed186e1d89fe9a9bd03657","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b91e51df88ed186e1d89fe9a9bd03657"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.842223,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b91e51df88ed186e1d89fe9a9bd03657","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684544,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0NH0.adt_K4Iob50xaC3t1aD5WCTEBmPlsJ89_9as7Pl6L74"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b91e51df88ed186e1d89fe9a9bd03657","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"70a21060-66ca-485f-910a-29779424db4f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.3265948} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b91e51df88ed186e1d89fe9a9bd03657","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8d35c4a2-5724-4fd1-9a52-c93b4eed6b17","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.331114} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b91e51df88ed186e1d89fe9a9bd03657","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"e610638c-13f0-467f-b045-77510102ca03","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.3409543} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f9cb570-aa98-4c7d-b2a7-56faa3b42fa4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.3412447} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"b91e51df88ed186e1d89fe9a9bd03657","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.340938832Z"}]},"request_id":"07a9a5bf-19c3-46a6-bffc-97d44a723ad5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684544.3451116} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b91e51df88ed186e1d89fe9a9bd03657","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b91e51df88ed186e1d89fe9a9bd03657"} gateway-1 | {"time_local":"26/Aug/2024:15:02:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b91e51df88ed186e1d89fe9a9bd03657"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"b91e51df88ed186e1d89fe9a9bd03657","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"98d4e10b37fdffe4392b9cf1bfb1d1e6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"98d4e10b37fdffe4392b9cf1bfb1d1e6","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/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":"98d4e10b37fdffe4392b9cf1bfb1d1e6"} device-1 | {"level":"info","message":"OPTIONS /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/websocket 200 1ms","method":"OPTIONS","requestID":"98d4e10b37fdffe4392b9cf1bfb1d1e6","responseTime":1,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"930c94244e3ffc174386686967dc2c94"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"930c94244e3ffc174386686967dc2c94","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"930c94244e3ffc174386686967dc2c94"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.745499,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"930c94244e3ffc174386686967dc2c94","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1865d85d57d47974fa4727b72ac72565","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1865d85d57d47974fa4727b72ac72565","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"a037b373c86d7ff32fb02fd45c2581cd"} device-1 | {"level":"info","message":"OPTIONS /devices/360e201f-5198-4c2d-8781-2100968947b9/websocket 200 1ms","method":"OPTIONS","requestID":"1865d85d57d47974fa4727b72ac72565","responseTime":1,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/360e201f-5198-4c2d-8781-2100968947b9/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":"1865d85d57d47974fa4727b72ac72565"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a037b373c86d7ff32fb02fd45c2581cd","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"930c94244e3ffc174386686967dc2c94","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a037b373c86d7ff32fb02fd45c2581cd"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.659343,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a037b373c86d7ff32fb02fd45c2581cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a037b373c86d7ff32fb02fd45c2581cd","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"930c94244e3ffc174386686967dc2c94"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/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":"930c94244e3ffc174386686967dc2c94"} device-1 | {"level":"info","message":"POST /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/websocket 200 25ms","method":"POST","requestID":"930c94244e3ffc174386686967dc2c94","responseTime":25,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a037b373c86d7ff32fb02fd45c2581cd"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/360e201f-5198-4c2d-8781-2100968947b9/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":"a037b373c86d7ff32fb02fd45c2581cd"} device-1 | {"level":"info","message":"POST /devices/360e201f-5198-4c2d-8781-2100968947b9/websocket 200 21ms","method":"POST","requestID":"a037b373c86d7ff32fb02fd45c2581cd","responseTime":21,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"dd865d39a1c2508cafe60c32964a3de1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"dd865d39a1c2508cafe60c32964a3de1","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dd865d39a1c2508cafe60c32964a3de1"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.682171,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dd865d39a1c2508cafe60c32964a3de1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"dd865d39a1c2508cafe60c32964a3de1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.340938832Z"}]},"request_id":"0c9a352f-46c9-4f82-8659-973d294d0dc2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.3086462} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"dd865d39a1c2508cafe60c32964a3de1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dd865d39a1c2508cafe60c32964a3de1"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/360e201f-5198-4c2d-8781-2100968947b9? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dd865d39a1c2508cafe60c32964a3de1"} device-1 | {"level":"info","message":"GET /devices/360e201f-5198-4c2d-8781-2100968947b9? 200 11ms","method":"GET","requestID":"dd865d39a1c2508cafe60c32964a3de1","responseTime":11,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"8d08510bc806c1a6859d0e50ef638799"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8d08510bc806c1a6859d0e50ef638799","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"8d08510bc806c1a6859d0e50ef638799"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.841995,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8d08510bc806c1a6859d0e50ef638799","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8d08510bc806c1a6859d0e50ef638799","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Attempting to run experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Attempting to book experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully booked experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34dc0290-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.630998,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da36d286-8a3d-44fb-a961-9a55855e504e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/da36d286-8a3d-44fb-a961-9a55855e504e","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.467937,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34dc0290-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"34dc0290-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda36d286-8a3d-44fb-a961-9a55855e504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda36d286-8a3d-44fb-a961-9a55855e504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.292519421Z"}]},"request_id":"94316444-7890-4fe2-8df2-f280cb6cf941","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.368724} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.340938832Z"}]},"request_id":"15e6ab35-c852-417c-a478-13963f8f9c1b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.3696668} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"34dc0290-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34dc0290-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/360e201f-5198-4c2d-8781-2100968947b9? 200 14ms","method":"GET","requestID":"34dc0290-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.871271,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/da36d286-8a3d-44fb-a961-9a55855e504e? 200 20ms","method":"GET","requestID":"34dbb470-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/da36d286-8a3d-44fb-a961-9a55855e504e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Setting up experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully locked booking for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Attempting to update booking for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully updated booking for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully set up experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34e3f1d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34e418e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"34e46700-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully running experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.958904,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34e3f1d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"34e3f1d0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.906212,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34e418e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"34e418e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.568188,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15701cf8-3fe2-4a82-8109-6247599cd667","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.422867} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34e46700-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"34e46700-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.240609622Z"}]},"request_id":"7aab0188-0e28-4bd8-97e1-a47d15a82fb8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.4248939} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"34e3f1d0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.340938832Z"}]},"request_id":"9623cdcc-0a1b-41ba-9966-0c1ca92f3ca4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.427914} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"34e418e0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34e46700-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling 200 14ms","method":"POST","requestID":"34e46700-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"34e6ff10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34e3f1d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af? 200 23ms","method":"GET","requestID":"34e3f1d0-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34e418e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/360e201f-5198-4c2d-8781-2100968947b9? 200 24ms","method":"GET","requestID":"34e418e0-63bc-11ef-bd85-dbaeea89054b","responseTime":24,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0d3529fa-a5ad-40de-86f1-bdac67797f12","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.439038} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.714793,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34e6ff10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","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":"34e83790-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"34e6ff10-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a9906ca-b8b8-4565-8af8-4f570d7c5122#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a9906ca-b8b8-4565-8af8-4f570d7c5122","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d61fd7af-8bb7-4d07-ac0e-2d1e00e8ec45","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.4403546} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3cb302fa-f562-41b3-9401-b0ee7470a865","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.4405942} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"8d08510bc806c1a6859d0e50ef638799","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34e6ff10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/360e201f-5198-4c2d-8781-2100968947b9/signaling 200 12ms","method":"POST","requestID":"34e6ff10-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9/signaling"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a9efc5e6-90a5-4e31-8444-fd9f86b61f46","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.448483} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.776484,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34e83790-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"34e83790-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"level":"info","message":"POST /experiments? 201 134ms","method":"POST","requestID":"8d08510bc806c1a6859d0e50ef638799","responseTime":134,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8d08510bc806c1a6859d0e50ef638799"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34e83790-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling 200 15ms","method":"POST","requestID":"34e83790-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"81ec35a8680705ec8e67880da90f9a2b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"81ec35a8680705ec8e67880da90f9a2b","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"34eacfa0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"81ec35a8680705ec8e67880da90f9a2b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.742897,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"81ec35a8680705ec8e67880da90f9a2b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"81ec35a8680705ec8e67880da90f9a2b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26b80ae5-dc8f-4cfa-82be-5bd84a9f8f2f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.462414} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.263141,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34eacfa0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","rebac_allow":false,"scope_allow":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":"34eacfa0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.240609622Z"}]},"request_id":"551a89ca-2439-4a5b-b747-ee11567a1e81","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.4668334} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34eacfa0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/360e201f-5198-4c2d-8781-2100968947b9/signaling 200 9ms","method":"POST","requestID":"34eacfa0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"81ec35a8680705ec8e67880da90f9a2b","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Building connection plan","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"8ffed002-3d62-493b-8759-f7b6eb769ac5"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"d657cd0c-b933-4d1f-85ea-3095cc3395c7"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"4f7f1d9e-0092-41ee-88fa-5441e56b479b"}]},"level":"info","message":"Built pairwise service configurations","requestID":"8d08510bc806c1a6859d0e50ef638799"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"8d08510bc806c1a6859d0e50ef638799"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"81ec35a8680705ec8e67880da90f9a2b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af? HTTP/1.1","status": "200","body_bytes_sent":"283","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"81ec35a8680705ec8e67880da90f9a2b"} device-1 | {"level":"info","message":"GET /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af? 200 13ms","method":"GET","requestID":"81ec35a8680705ec8e67880da90f9a2b","responseTime":13,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.814676,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"597092cd3d7112d70f70fe1a63453428"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"597092cd3d7112d70f70fe1a63453428","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"597092cd3d7112d70f70fe1a63453428"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.473205,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"597092cd3d7112d70f70fe1a63453428","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"597092cd3d7112d70f70fe1a63453428","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"809f6de2-b4ea-4c18-afe9-e0f6875dd4cf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.4863784} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"867db411-8e96-4a4c-8b37-1728e59a359b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.4865375} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:24.340938832Z"}]},"request_id":"e5e71a4e-2e6f-48f9-ac8b-b33707f17da6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.4901307} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"597092cd3d7112d70f70fe1a63453428","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"597092cd3d7112d70f70fe1a63453428"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/360e201f-5198-4c2d-8781-2100968947b9? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"597092cd3d7112d70f70fe1a63453428"} device-1 | {"level":"info","message":"GET /devices/360e201f-5198-4c2d-8781-2100968947b9? 200 21ms","method":"GET","requestID":"597092cd3d7112d70f70fe1a63453428","responseTime":21,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda'","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda'","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"34eccb70-63bc-11ef-bd85-dbaeea89054b"} 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":"34eccb70-63bc-11ef-bd85-dbaeea89054b","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":"34eccb70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","device":"360e201f-5198-4c2d-8781-2100968947b9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"8d08510bc806c1a6859d0e50ef638799"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"34f64150-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a9b2f0c-89e3-4693-bc4d-b8dff748747a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.5381463} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.340997,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34f64150-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"34f64150-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34f64150-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling 200 9ms","method":"POST","requestID":"34f64150-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"34f81610-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0b38c754-8ce8-4e67-9ba3-e9f19b563d4c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.5505679} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.003968,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} device-1 | {"device":"360e201f-5198-4c2d-8781-2100968947b9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"360e201f-5198-4c2d-8781-2100968947b9","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/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34f81610-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","rebac_allow":false,"scope_allow":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":"34f81610-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"34f81610-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/360e201f-5198-4c2d-8781-2100968947b9/signaling 200 14ms","method":"POST","requestID":"34f81610-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 7441303230283240905 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:IT+o\r\na=ice-pwd:uRCGU4fliXUdGI68OvzFHsOS\r\na=ice-options:trickle\r\na=fingerprint:sha-256 44:EB:B4:5C:A8:A2:BA:95:6F:BF:82:22:A2:5F:39:1A:2D:E3:2C:33:17:EC:B9:3B:05:01:15:08:39:10:0B:1C\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"360e201f-5198-4c2d-8781-2100968947b9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 7785915666125637931 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:OQQX\r\na=ice-pwd:qADChKqIdaFmidrChXBswmjR\r\na=ice-options:trickle\r\na=fingerprint:sha-256 26:AF:88:8E:12:75:1D:EE:8D:6F:5D:62:5D:69:F2:85:C4:85:08:3B:C0:D6:25:BD:65:07:9B:2C:2B:6E:80: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":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3027594113 1 udp 2113937151 18e6ea8a-040a-48e7-b5dc-88a9c90f0ffd.local 55144 typ host generation 0 ufrag OQQX network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:811074046 1 udp 1677729535 141.24.211.56 55144 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag OQQX network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","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/665d3b2b-0bb0-4039-941b-4ee1a9b710af'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af'"} device-1 | {"content":{"candidate":"candidate:4035143879 1 udp 2113937151 12ffb31c-4b48-45c8-a4d3-ed7ca98052d5.local 38077 typ host generation 0 ufrag IT+o network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"360e201f-5198-4c2d-8781-2100968947b9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3537757770 1 udp 1677729535 141.24.211.56 38077 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag IT+o network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"360e201f-5198-4c2d-8781-2100968947b9","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/360e201f-5198-4c2d-8781-2100968947b9'"} device-1 | {"device":"360e201f-5198-4c2d-8781-2100968947b9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2f72f02-c1c0-409f-b071-ce2935478cda","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"360e201f-5198-4c2d-8781-2100968947b9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"360e201f-5198-4c2d-8781-2100968947b9","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":"42d0fd50c113dcb0ab8b6e8eb313ecfa","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"42d0fd50c113dcb0ab8b6e8eb313ecfa","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda"}}},"level":"info","message":"received a callback","requestID":"42d0fd50c113dcb0ab8b6e8eb313ecfa"} device-1 | {"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"42d0fd50c113dcb0ab8b6e8eb313ecfa","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"42d0fd50c113dcb0ab8b6e8eb313ecfa"} device-1 | {"device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","deviceName":"Internal Test Device","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"b2f72f02-c1c0-409f-b071-ce2935478cda","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"b2f72f02-c1c0-409f-b071-ce2935478cda","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/b2f72f02-c1c0-409f-b071-ce2935478cda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2f72f02-c1c0-409f-b071-ce2935478cda","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d7f1e816c70351303830110ee1e86418","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d7f1e816c70351303830110ee1e86418","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda"}}},"level":"info","message":"received a callback","requestID":"d7f1e816c70351303830110ee1e86418"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"35053570-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2f72f02-c1c0-409f-b071-ce2935478cda","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7ecbd17e-fe7f-4f27-9776-6e624241a1ef","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.6354291} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.641047,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"35053570-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","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":"35053570-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"35053570-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda 200 9ms","method":"GET","requestID":"35053570-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 35ms","method":"POST","requestID":"d7f1e816c70351303830110ee1e86418","responseTime":35,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch","requestID":"d7f1e816c70351303830110ee1e86418"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3509f060-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef2cc485-669e-4bc6-ae96-8df5d4a063bd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.6665692} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.074693,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3509f060-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3509f060-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3509f060-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling 200 9ms","method":"POST","requestID":"3509f060-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"350b9e10-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cc9a972e-502c-419f-a87b-5f7b818a519d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.6782687} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.523777,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"350b9e10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"350b9e10-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"350b9e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/360e201f-5198-4c2d-8781-2100968947b9/signaling 200 10ms","method":"POST","requestID":"350b9e10-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.638302,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8"} experiment-1 | {"level":"info","message":"GET /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122 200 10ms","method":"GET","requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8","responseTime":10,"status":200,"url":"/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122 HTTP/1.1","status": "200","body_bytes_sent":"880","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6d5e25fd0baa3f2eb1fd3bb3baf487e8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"7b36630934d5561edf2dcc178066bcbe"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7b36630934d5561edf2dcc178066bcbe","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","requestID":"7b36630934d5561edf2dcc178066bcbe"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.716078,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"7b36630934d5561edf2dcc178066bcbe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7b36630934d5561edf2dcc178066bcbe","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Attempting to finish experiment","requestID":"7b36630934d5561edf2dcc178066bcbe"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"35140280-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.637696,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"35140280-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"35140280-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","device":"360e201f-5198-4c2d-8781-2100968947b9","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda","device":"665d3b2b-0bb0-4039-941b-4ee1a9b710af","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/b2f72f02-c1c0-409f-b071-ce2935478cda' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b2f72f02-c1c0-409f-b071-ce2935478cda","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"54d37f7161b29590aea3d0a9371a99dd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"54d37f7161b29590aea3d0a9371a99dd","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda"}}},"level":"info","message":"received a callback","requestID":"54d37f7161b29590aea3d0a9371a99dd"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d999f2c21241b69340d78775e985361d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d999f2c21241b69340d78775e985361d","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2f72f02-c1c0-409f-b071-ce2935478cda': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb2f72f02-c1c0-409f-b071-ce2935478cda","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"f94f4c5b-1ba7-4fb7-adbd-cbc2ddd293b7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.7478075} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c492fd0c-3ac0-4e4e-b457-2559bba2c991","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.7482028} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda"}}},"level":"info","message":"received a callback","requestID":"d999f2c21241b69340d78775e985361d"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"35140280-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"b2f72f02-c1c0-409f-b071-ce2935478cda","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"35140280-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda 204 33ms","method":"DELETE","requestID":"35140280-63bc-11ef-bd85-dbaeea89054b","responseTime":33,"status":204,"url":"/peerconnections/b2f72f02-c1c0-409f-b071-ce2935478cda"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"},"level":"info","message":"Successfully finished experiment","requestID":"7b36630934d5561edf2dcc178066bcbe"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"351ba3a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F665d3b2b-0bb0-4039-941b-4ee1a9b710af","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6dfcca2a-e2dc-46e3-b36c-6e31807f2364","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.782333} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.528036,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"351ba3a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"351ba3a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"351ba3a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling 200 9ms","method":"POST","requestID":"351ba3a0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/665d3b2b-0bb0-4039-941b-4ee1a9b710af/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"351d5150-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a9906ca-b8b8-4565-8af8-4f570d7c5122': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a9906ca-b8b8-4565-8af8-4f570d7c5122","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"f9f257f0-972d-4a1a-af92-23750cec9540","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.7909908} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e6202402-3be7-4152-b8f7-38440765277e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.791254} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"7b36630934d5561edf2dcc178066bcbe","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F360e201f-5198-4c2d-8781-2100968947b9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b37a9f6-e966-443e-9314-8a892699c667","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.7962499} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.253973,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"351d5150-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9","object_type":"device","rebac_allow":false,"scope_allow":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":"351d5150-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"351d5150-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/360e201f-5198-4c2d-8781-2100968947b9/signaling 200 12ms","method":"POST","requestID":"351d5150-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/360e201f-5198-4c2d-8781-2100968947b9/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122","requestID":"7b36630934d5561edf2dcc178066bcbe"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122 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":"7b36630934d5561edf2dcc178066bcbe"} experiment-1 | {"level":"info","message":"DELETE /experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122 204 131ms","method":"DELETE","requestID":"7b36630934d5561edf2dcc178066bcbe","responseTime":131,"status":204,"url":"/experiments/5a9906ca-b8b8-4565-8af8-4f570d7c5122"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 110ms","method":"POST","requestID":"54d37f7161b29590aea3d0a9371a99dd","responseTime":110,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"b2664fc9977504e074aac41aba87a63a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"d999f2c21241b69340d78775e985361d","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.113","http_referrer":"","http_user_agent":"node-fetch","requestID":"54d37f7161b29590aea3d0a9371a99dd"} device-1 | {"level":"info","message":"postDevices called","requestID":"b2664fc9977504e074aac41aba87a63a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b2664fc9977504e074aac41aba87a63a","responseTime":3,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.114","http_referrer":"","http_user_agent":"node-fetch","requestID":"d999f2c21241b69340d78775e985361d"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2646","request_time":"0.576","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"af3f37d224ef055ec4abcd88a0d66771"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.889489,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2647","request_time":"0.589","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7fe428901a104087f7303bb130721876"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b2664fc9977504e074aac41aba87a63a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b2664fc9977504e074aac41aba87a63a","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/665d3b2b-0bb0-4039-941b-4ee1a9b710af' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2a94e130-93b9-4d43-9811-818ac04b33fd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.8766143} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b2664fc9977504e074aac41aba87a63a","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7df8f849-d918-45cc-af8f-09c77e6b2727","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.88211} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/360e201f-5198-4c2d-8781-2100968947b9' closed"} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"b2664fc9977504e074aac41aba87a63a","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"294c4547-db7e-4307-b4ef-36420453aec3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.8912416} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"669a8d5b-5a72-4a03-8442-41f8350ab832","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.891623} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"b2664fc9977504e074aac41aba87a63a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.891197892Z"}]},"request_id":"6b9c1d5e-2ce8-4674-b695-821e25fae549","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.8955395} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b2664fc9977504e074aac41aba87a63a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b2664fc9977504e074aac41aba87a63a"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"b2664fc9977504e074aac41aba87a63a","responseTime":39,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b2664fc9977504e074aac41aba87a63a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA","level":"info","message":"auth send jwt","requestID":"5654e30729f34812c8b7e2bebee27361"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5654e30729f34812c8b7e2bebee27361","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5654e30729f34812c8b7e2bebee27361"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.730265,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:26Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5654e30729f34812c8b7e2bebee27361","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684546,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0Nn0.NE4lr5cyBOqQ1Z6BhP3c6UmzcQwfRA6lFEbMq4IuTJA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5654e30729f34812c8b7e2bebee27361","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f562559e-63b0-456f-ae80-fe28aefac64a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.9161985} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5654e30729f34812c8b7e2bebee27361","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"41dce00d-1472-403a-87cd-edde9a36711e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.9204254} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5654e30729f34812c8b7e2bebee27361","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a4b782dd-dc9c-4463-974a-3aa4abe9f7b1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.9365869} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"824f3c0a-621b-461a-a9aa-bca0eb384abd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.9369152} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"5654e30729f34812c8b7e2bebee27361","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.936562747Z"}]},"request_id":"986575e3-320a-4405-b21c-ade0fe40f858","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684546.9406257} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5654e30729f34812c8b7e2bebee27361","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5654e30729f34812c8b7e2bebee27361"} gateway-1 | {"time_local":"26/Aug/2024:15:02:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5654e30729f34812c8b7e2bebee27361"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"5654e30729f34812c8b7e2bebee27361","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0N30.dlxHBfGJkzjQVq7XkKNLpUJpVIgRVX9lDK0Ezh7FEto","level":"info","message":"auth send jwt","requestID":"e7f38fff6e74f8c0be80e0136d3c293a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e7f38fff6e74f8c0be80e0136d3c293a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e7f38fff6e74f8c0be80e0136d3c293a"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.70679,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e7f38fff6e74f8c0be80e0136d3c293a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684547,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0N30.dlxHBfGJkzjQVq7XkKNLpUJpVIgRVX9lDK0Ezh7FEto"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e7f38fff6e74f8c0be80e0136d3c293a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.891197892Z"}]},"request_id":"4e7b99dc-8516-4146-ad13-663daef93ba4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684547.4487774} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e7f38fff6e74f8c0be80e0136d3c293a","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b6e94947-3af8-4874-ba93-786ac221775d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684547.453275} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e7f38fff6e74f8c0be80e0136d3c293a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.891197892Z"}]},"request_id":"31f8407e-15a9-49da-acc0-88eb418124ab","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684547.4640563} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e7f38fff6e74f8c0be80e0136d3c293a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e7f38fff6e74f8c0be80e0136d3c293a"} gateway-1 | {"time_local":"26/Aug/2024:15:02:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.030","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e7f38fff6e74f8c0be80e0136d3c293a"} device-1 | {"level":"info","message":"PATCH /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b 200 27ms","method":"PATCH","requestID":"e7f38fff6e74f8c0be80e0136d3c293a","responseTime":27,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0N30.dlxHBfGJkzjQVq7XkKNLpUJpVIgRVX9lDK0Ezh7FEto","level":"info","message":"auth send jwt","requestID":"794de50448d559cb65ec177cfae7f709"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"794de50448d559cb65ec177cfae7f709","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"794de50448d559cb65ec177cfae7f709"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.675205,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"794de50448d559cb65ec177cfae7f709","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684547,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0N30.dlxHBfGJkzjQVq7XkKNLpUJpVIgRVX9lDK0Ezh7FEto"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"794de50448d559cb65ec177cfae7f709","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"794de50448d559cb65ec177cfae7f709"} gateway-1 | {"time_local":"26/Aug/2024:15:02:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.019","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"794de50448d559cb65ec177cfae7f709"} device-1 | {"level":"info","message":"POST /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/websocket 200 16ms","method":"POST","requestID":"794de50448d559cb65ec177cfae7f709","responseTime":16,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"af143a309d638e0d5f827d5634f7f8cb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"af143a309d638e0d5f827d5634f7f8cb","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/89c77291-c55f-4b51-898d-8a98c438219e/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":"af143a309d638e0d5f827d5634f7f8cb"} device-1 | {"level":"info","message":"OPTIONS /devices/89c77291-c55f-4b51-898d-8a98c438219e/websocket 200 0ms","method":"OPTIONS","requestID":"af143a309d638e0d5f827d5634f7f8cb","responseTime":0,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE","level":"info","message":"auth send jwt","requestID":"a1558fcf9683974019e458d568054dac"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a1558fcf9683974019e458d568054dac","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a1558fcf9683974019e458d568054dac"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.696282,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a1558fcf9683974019e458d568054dac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a1558fcf9683974019e458d568054dac","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a1558fcf9683974019e458d568054dac"} gateway-1 | {"time_local":"26/Aug/2024:15:02:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/89c77291-c55f-4b51-898d-8a98c438219e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a1558fcf9683974019e458d568054dac"} device-1 | {"level":"info","message":"POST /devices/89c77291-c55f-4b51-898d-8a98c438219e/websocket 200 20ms","method":"POST","requestID":"a1558fcf9683974019e458d568054dac","responseTime":20,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE","level":"info","message":"auth send jwt","requestID":"54125b29cf7fa608cd57f619488aba3b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"54125b29cf7fa608cd57f619488aba3b","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"54125b29cf7fa608cd57f619488aba3b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.911169,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"54125b29cf7fa608cd57f619488aba3b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"54125b29cf7fa608cd57f619488aba3b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.891197892Z"}]},"request_id":"f9a4419c-2d08-4604-91a8-0d10923d2719","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684548.9073796} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"54125b29cf7fa608cd57f619488aba3b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"54125b29cf7fa608cd57f619488aba3b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"54125b29cf7fa608cd57f619488aba3b"} device-1 | {"level":"info","message":"GET /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b? 200 10ms","method":"GET","requestID":"54125b29cf7fa608cd57f619488aba3b","responseTime":10,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE","level":"info","message":"auth send jwt","requestID":"c9ce2b898d4ab93162c057a0eca87fde"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c9ce2b898d4ab93162c057a0eca87fde","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c9ce2b898d4ab93162c057a0eca87fde"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.713456,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c9ce2b898d4ab93162c057a0eca87fde","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c9ce2b898d4ab93162c057a0eca87fde","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.936562747Z"}]},"request_id":"4478ff28-ced8-4e62-81e7-0e9ba0e39608","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684548.9225411} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c9ce2b898d4ab93162c057a0eca87fde","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c9ce2b898d4ab93162c057a0eca87fde"} gateway-1 | {"time_local":"26/Aug/2024:15:02:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89c77291-c55f-4b51-898d-8a98c438219e? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c9ce2b898d4ab93162c057a0eca87fde"} device-1 | {"level":"info","message":"GET /devices/89c77291-c55f-4b51-898d-8a98c438219e? 200 11ms","method":"GET","requestID":"c9ce2b898d4ab93162c057a0eca87fde","responseTime":11,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE","level":"info","message":"auth send jwt","requestID":"6b120158060c37aedeaa2e629a7cbf69"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6b120158060c37aedeaa2e629a7cbf69","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6b120158060c37aedeaa2e629a7cbf69"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.936082,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6b120158060c37aedeaa2e629a7cbf69","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6b120158060c37aedeaa2e629a7cbf69","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Attempting to run experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Attempting to book experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully booked experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"366adff0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"366b0700-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.606959,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"366adff0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"366adff0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.690368,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"366b0700-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"366b0700-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.891197892Z"}]},"request_id":"8e6e75f0-d44b-408a-8050-9e6a800be6b3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684548.9848998} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"366adff0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.936562747Z"}]},"request_id":"34c538eb-b05c-4897-8e62-51503a6dd2c1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684548.9856958} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"366b0700-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"366adff0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b? 200 15ms","method":"GET","requestID":"366adff0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"366b0700-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/89c77291-c55f-4b51-898d-8a98c438219e? 200 15ms","method":"GET","requestID":"366b0700-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Setting up experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully set up experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"36751920-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"36756740-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3675b560-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully running experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.803577,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"36751920-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"36751920-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.711583,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"36756740-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"36756740-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.096229,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"54ed9e02-ad5a-4f5b-9099-347e78ea87c0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.0530224} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.891197892Z"}]},"request_id":"1fad3c67-566e-4613-8b84-376bb6fcfe12","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.0533705} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"36751920-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3675b560-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","rebac_allow":false,"scope_allow":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":"3675b560-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.936562747Z"}]},"request_id":"89eb9f7a-1177-4341-861d-8d781ba89f32","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.054426} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"36756740-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3675b560-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling 200 15ms","method":"POST","requestID":"3675b560-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"36751920-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b? 200 20ms","method":"GET","requestID":"36751920-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"36756740-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/89c77291-c55f-4b51-898d-8a98c438219e? 200 19ms","method":"GET","requestID":"36756740-63bc-11ef-bd85-dbaeea89054b","responseTime":19,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"36787480-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3678c2a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1780644-8483-4fc4-a49d-a9fad3429c7c#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1780644-8483-4fc4-a49d-a9fad3429c7c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a6d6222a-52d5-4b6f-bdc3-63949f289bff","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.067268} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dd863e28-5ad8-444e-a262-51c79b1f690c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.0675583} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"6b120158060c37aedeaa2e629a7cbf69","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.501877,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed93c11d-c62c-4a52-bd3c-590aa904a2c7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.0702937} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"36787480-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","rebac_allow":false,"scope_allow":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":"36787480-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"909a9b13-aebb-442c-bb4e-40d5ec51f166","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.0730195} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.933725,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3678c2a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3678c2a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"36787480-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6b120158060c37aedeaa2e629a7cbf69"} device-1 | {"level":"info","message":"POST /devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling 200 15ms","method":"POST","requestID":"36787480-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling"} gateway-1 | {"time_local":"26/Aug/2024:15:02:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.152","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"level":"info","message":"POST /experiments? 201 148ms","method":"POST","requestID":"6b120158060c37aedeaa2e629a7cbf69","responseTime":148,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3678c2a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling 200 14ms","method":"POST","requestID":"3678c2a0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"367b5ab0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OX0.q7s_j59LQ1w0M_p4qSVwR1fHVTrFjTMaartbCBhxZ4k","level":"info","message":"auth send jwt","requestID":"6898a4b1809a30c96a5a65256788e990"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6898a4b1809a30c96a5a65256788e990","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6898a4b1809a30c96a5a65256788e990"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d245347-39bc-4f0d-829c-3bd95326f780","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.0879624} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.111663,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"367b5ab0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"367b5ab0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.807238,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6898a4b1809a30c96a5a65256788e990","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684549,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OX0.q7s_j59LQ1w0M_p4qSVwR1fHVTrFjTMaartbCBhxZ4k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6898a4b1809a30c96a5a65256788e990","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"367b5ab0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling 200 11ms","method":"POST","requestID":"367b5ab0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e/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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.891197892Z"}]},"request_id":"f9901e20-17ac-4359-994a-957583317e55","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.095262} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Building connection plan","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"7fcae7c9-3892-4b9a-96a9-d1d5bfcf24fd"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"873d151d-be51-4aa6-a42e-b57ac59cc27c"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"773b0ae5-f1cf-4dec-8034-475e74a6aff6"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6b120158060c37aedeaa2e629a7cbf69"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6b120158060c37aedeaa2e629a7cbf69"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6898a4b1809a30c96a5a65256788e990","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6898a4b1809a30c96a5a65256788e990"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6898a4b1809a30c96a5a65256788e990"} device-1 | {"level":"info","message":"GET /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b? 200 16ms","method":"GET","requestID":"6898a4b1809a30c96a5a65256788e990","responseTime":16,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.777445,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684548,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OH0.nfCjFRUcaxyUNb4fUUt168X_XZJtVT004MLlpbstoVE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OX0.q7s_j59LQ1w0M_p4qSVwR1fHVTrFjTMaartbCBhxZ4k","level":"info","message":"auth send jwt","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.900298,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684549,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU0OX0.q7s_j59LQ1w0M_p4qSVwR1fHVTrFjTMaartbCBhxZ4k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d03690e5-dc02-4708-aa26-71ae81c702e7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.11166} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b93d5614-ec59-4776-acaf-5e4f10e131d2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.1118517} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:26.936562747Z"}]},"request_id":"250f53f2-5b64-41e2-93ef-e7b6eabebf4c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.1187637} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5'","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5'","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 41ms","method":"POST","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b","responseTime":41,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3"} gateway-1 | {"time_local":"26/Aug/2024:15:02:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/89c77291-c55f-4b51-898d-8a98c438219e? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3"} device-1 | {"level":"info","message":"GET /devices/89c77291-c55f-4b51-898d-8a98c438219e? 200 33ms","method":"GET","requestID":"42ee0b4fb11b7080afa5e7ba2abc6cf3","responseTime":33,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"367da4a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5","device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6b120158060c37aedeaa2e629a7cbf69"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"36891650-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ba80ee37-91ea-4986-b73d-9ea3af4fda41","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.1773615} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.652049,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"36891650-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"36891650-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 1407282353129003308 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:kZ/2\r\na=ice-pwd:HbxUwQwKh1F/3wAD9GlRbs1Z\r\na=ice-options:trickle\r\na=fingerprint:sha-256 8D:25:8B:2D:96:5F:6F:14:AC:36:C8:DF:A3:86:AB:F7:7B:95:3C:9F:56:CE:63:E4:64:6E:21:44:B5:4B:80:2C\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"36891650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling 200 18ms","method":"POST","requestID":"36891650-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e'"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"368c4aa0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2c857dba-5a7f-46ab-ab0a-d8c0776656bb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684549.1996021} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.779539,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"368c4aa0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","rebac_allow":false,"scope_allow":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":"368c4aa0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"368c4aa0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling 200 13ms","method":"POST","requestID":"368c4aa0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling"} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"f7209183-bd01-4633-9284-9e2f87508cb5","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/f7209183-bd01-4633-9284-9e2f87508cb5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f7209183-bd01-4633-9284-9e2f87508cb5","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6792ab5132c588400e2caee668091a7f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"6792ab5132c588400e2caee668091a7f","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5"}}},"level":"info","message":"received a callback","requestID":"6792ab5132c588400e2caee668091a7f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 11ms","method":"POST","requestID":"6792ab5132c588400e2caee668091a7f","responseTime":11,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.015","http_referrer":"","http_user_agent":"node-fetch","requestID":"6792ab5132c588400e2caee668091a7f"} device-1 | {"content":{"candidate":"candidate:3686251912 1 udp 2113937151 55a9f91b-e703-4096-8626-09df354fcbdf.local 49154 typ host generation 0 ufrag kZ/2 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1603983351 1 udp 1677729535 141.24.211.56 49154 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag kZ/2 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:211249276 1 udp 33562623 141.24.210.113 50879 typ relay raddr 141.24.211.56 rport 49154 generation 0 ufrag kZ/2 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"89c77291-c55f-4b51-898d-8a98c438219e","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/89c77291-c55f-4b51-898d-8a98c438219e'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e'"} device-1 | {"data":{"peerconnection":"f7209183-bd01-4633-9284-9e2f87508cb5","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"f7209183-bd01-4633-9284-9e2f87508cb5","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/f7209183-bd01-4633-9284-9e2f87508cb5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f7209183-bd01-4633-9284-9e2f87508cb5","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1ac2f01afc2f835c07470026215c414a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1ac2f01afc2f835c07470026215c414a","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5"}}},"level":"info","message":"received a callback","requestID":"1ac2f01afc2f835c07470026215c414a"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"37ca48e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff7209183-bd01-4633-9284-9e2f87508cb5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cc3fe109-a72f-4a92-8803-0ee30bbac58e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.283021} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.223106,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"37ca48e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5","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":"37ca48e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"37ca48e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5 200 9ms","method":"GET","requestID":"37ca48e0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 41ms","method":"POST","requestID":"1ac2f01afc2f835c07470026215c414a","responseTime":41,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.044","http_referrer":"","http_user_agent":"node-fetch","requestID":"1ac2f01afc2f835c07470026215c414a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37cf7900-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e90f46e0-79f4-4192-b802-297ec88a0843","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.316651} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.854953,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"37cf7900-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"37cf7900-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37cf7900-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling 200 9ms","method":"POST","requestID":"37cf7900-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37d14dc0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2adffcf9-51ff-4330-947b-a606aeab8ca8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.3279388} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.183023,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"37d14dc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","rebac_allow":false,"scope_allow":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":"37d14dc0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37d14dc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling 200 8ms","method":"POST","requestID":"37d14dc0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A","level":"info","message":"auth send jwt","requestID":"649a319f0ff801b0a967185c1aa68e75"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"649a319f0ff801b0a967185c1aa68e75","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","requestID":"649a319f0ff801b0a967185c1aa68e75"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.735273,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"649a319f0ff801b0a967185c1aa68e75","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684551,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"649a319f0ff801b0a967185c1aa68e75","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","requestID":"649a319f0ff801b0a967185c1aa68e75"} gateway-1 | {"time_local":"26/Aug/2024:15:02:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"649a319f0ff801b0a967185c1aa68e75"} experiment-1 | {"level":"info","message":"GET /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c 200 11ms","method":"GET","requestID":"649a319f0ff801b0a967185c1aa68e75","responseTime":11,"status":200,"url":"/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A","level":"info","message":"auth send jwt","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.719817,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684551,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Attempting to finish experiment","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"37e6f8a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.715862,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"37e6f8a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684551,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"37e6f8a0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5","device":"89c77291-c55f-4b51-898d-8a98c438219e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/f7209183-bd01-4633-9284-9e2f87508cb5' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f7209183-bd01-4633-9284-9e2f87508cb5","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff7209183-bd01-4633-9284-9e2f87508cb5': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff7209183-bd01-4633-9284-9e2f87508cb5","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"59ceb560-bc61-468f-8a28-302c0a35927a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.4840078} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"84dfed83-5f28-49d3-8910-0638377fe720","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.4842544} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"87205d2ac352079d0cc3eb8e4a14336d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"37e6f8a0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"87205d2ac352079d0cc3eb8e4a14336d","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5"}}},"level":"info","message":"received a callback","requestID":"87205d2ac352079d0cc3eb8e4a14336d"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f98077a58046a4b9bb3ab8200ff6448e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f98077a58046a4b9bb3ab8200ff6448e","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5"}}},"level":"info","message":"received a callback","requestID":"f98077a58046a4b9bb3ab8200ff6448e"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"37e6f8a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5 204 35ms","method":"DELETE","requestID":"37e6f8a0-63bc-11ef-bd85-dbaeea89054b","responseTime":35,"status":204,"url":"/peerconnections/f7209183-bd01-4633-9284-9e2f87508cb5"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"},"level":"info","message":"Successfully finished experiment","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37eee7e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"03d55947-fec1-456d-b6d1-ea7a19229b55","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.5219805} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.348905,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"37eee7e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b","object_type":"device","rebac_allow":false,"scope_allow":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":"37eee7e0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37eee7e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling 200 8ms","method":"POST","requestID":"37eee7e0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"37f06e80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F89c77291-c55f-4b51-898d-8a98c438219e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"afbbeb87-c8a9-49a8-a5d3-c073e34dbe43","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.5325136} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.289016,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"37f06e80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/89c77291-c55f-4b51-898d-8a98c438219e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"37f06e80-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1780644-8483-4fc4-a49d-a9fad3429c7c': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1780644-8483-4fc4-a49d-a9fad3429c7c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"a788d3be-c487-4cb9-a36e-d86b83249e27","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.5364513} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"37f06e80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/89c77291-c55f-4b51-898d-8a98c438219e/signaling 200 10ms","method":"POST","requestID":"37f06e80-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/89c77291-c55f-4b51-898d-8a98c438219e/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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f52b2a1c-55b8-4e8e-9e82-e3209301d337","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.5372248} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b","responseTime":23,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2990","request_time":"4.103","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1eba61a4f25c94b37334b6585ab8350d"} experiment-1 | {"level":"info","message":"DELETE /experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c 204 137ms","method":"DELETE","requestID":"d3f83b2a1ac7f9065eeec0c8b7579e8b","responseTime":138,"status":204,"url":"/experiments/c1780644-8483-4fc4-a49d-a9fad3429c7c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"87205d2ac352079d0cc3eb8e4a14336d","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.111","http_referrer":"","http_user_agent":"node-fetch","requestID":"87205d2ac352079d0cc3eb8e4a14336d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"f98077a58046a4b9bb3ab8200ff6448e","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.115","http_referrer":"","http_user_agent":"node-fetch","requestID":"f98077a58046a4b9bb3ab8200ff6448e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A","level":"info","message":"auth send jwt","requestID":"e39ba5fdb89850d87005c79b96d6278f"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"e39ba5fdb89850d87005c79b96d6278f","responseTime":8,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2501","request_time":"2.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":"5117a3c8abb5091c7f3a0993f46e2bf0"} device-1 | {"level":"info","message":"postDevices called","requestID":"e39ba5fdb89850d87005c79b96d6278f"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.795308,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/98ecf08d-9e02-4c07-a0e8-5eaf122c2f8b' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e39ba5fdb89850d87005c79b96d6278f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684551,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e39ba5fdb89850d87005c79b96d6278f","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/89c77291-c55f-4b51-898d-8a98c438219e' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"69fa11f2-7ab7-4768-a790-77b7d60e358c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6234908} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e39ba5fdb89850d87005c79b96d6278f","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f0cf8afb-c215-4731-a655-400d32f8bc17","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6289694} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e39ba5fdb89850d87005c79b96d6278f","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"0e930e7d-7f40-477b-8708-7503c979e6ff","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6445694} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fc916079-e750-4e11-b341-6e8c73514af6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6448302} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"e39ba5fdb89850d87005c79b96d6278f","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.644548680Z"}]},"request_id":"638a69dd-e44c-475e-a993-be4cfdb1821e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6495724} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e39ba5fdb89850d87005c79b96d6278f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e39ba5fdb89850d87005c79b96d6278f"} gateway-1 | {"time_local":"26/Aug/2024:15:02:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e39ba5fdb89850d87005c79b96d6278f"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"e39ba5fdb89850d87005c79b96d6278f","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A","level":"info","message":"auth send jwt","requestID":"b62732d781c2d4afe37971945dde58a9"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b62732d781c2d4afe37971945dde58a9","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b62732d781c2d4afe37971945dde58a9"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.740654,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b62732d781c2d4afe37971945dde58a9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684551,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1MX0.Z1_DTcidP9fxS_JnfvphfXwe9tjQD7inmEyEeeDzW_A"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b62732d781c2d4afe37971945dde58a9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c05c2319-a990-43e1-ba08-645cd3143fda","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6750195} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b62732d781c2d4afe37971945dde58a9","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"298fe3a4-565b-4bb0-bdea-0323c3eb0b81","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6803384} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b62732d781c2d4afe37971945dde58a9","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"e4212dc8-ec92-40d7-80ad-f6ef0f814c92","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.690891} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"348e7575-d229-4a5e-a80e-ca3480be1f5e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6911502} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"b62732d781c2d4afe37971945dde58a9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.690873826Z"}]},"request_id":"81a757c0-858a-4fad-a143-5e5209a8b81e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684551.6960862} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b62732d781c2d4afe37971945dde58a9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b62732d781c2d4afe37971945dde58a9"} gateway-1 | {"time_local":"26/Aug/2024:15:02:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b62732d781c2d4afe37971945dde58a9"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"b62732d781c2d4afe37971945dde58a9","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"10b1eafc0a652f5a06bd824679eced8b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"10b1eafc0a652f5a06bd824679eced8b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/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":"10b1eafc0a652f5a06bd824679eced8b"} device-1 | {"level":"info","message":"OPTIONS /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/websocket 200 1ms","method":"OPTIONS","requestID":"10b1eafc0a652f5a06bd824679eced8b","responseTime":1,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY","level":"info","message":"auth send jwt","requestID":"476adfc40866c138f899d550a570bffa"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"476adfc40866c138f899d550a570bffa","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"476adfc40866c138f899d550a570bffa"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.724736,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"476adfc40866c138f899d550a570bffa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"476adfc40866c138f899d550a570bffa","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"476adfc40866c138f899d550a570bffa"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/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":"476adfc40866c138f899d550a570bffa"} device-1 | {"level":"info","message":"POST /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/websocket 200 18ms","method":"POST","requestID":"476adfc40866c138f899d550a570bffa","responseTime":18,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19f6d28dc6baad08f002e3a4f68758db","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"19f6d28dc6baad08f002e3a4f68758db","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/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":"19f6d28dc6baad08f002e3a4f68758db"} device-1 | {"level":"info","message":"OPTIONS /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/websocket 200 1ms","method":"OPTIONS","requestID":"19f6d28dc6baad08f002e3a4f68758db","responseTime":1,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY","level":"info","message":"auth send jwt","requestID":"c53379c4c07ff23ffd0e5870b056de61"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c53379c4c07ff23ffd0e5870b056de61","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c53379c4c07ff23ffd0e5870b056de61"} device-1 | {"level":"info","message":"device 'http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea' connected"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.9031,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c53379c4c07ff23ffd0e5870b056de61","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c53379c4c07ff23ffd0e5870b056de61","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c53379c4c07ff23ffd0e5870b056de61"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.017","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c53379c4c07ff23ffd0e5870b056de61"} device-1 | {"level":"info","message":"POST /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/websocket 200 14ms","method":"POST","requestID":"c53379c4c07ff23ffd0e5870b056de61","responseTime":14,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY","level":"info","message":"auth send jwt","requestID":"9527c2990e3d25bb3476e53e9d79b0bc"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9527c2990e3d25bb3476e53e9d79b0bc","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9527c2990e3d25bb3476e53e9d79b0bc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.706445,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9527c2990e3d25bb3476e53e9d79b0bc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9527c2990e3d25bb3476e53e9d79b0bc","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.644548680Z"}]},"request_id":"10e98b56-b758-4eab-8cfc-5321d75ac055","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.6765847} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9527c2990e3d25bb3476e53e9d79b0bc","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9527c2990e3d25bb3476e53e9d79b0bc"} device-1 | {"level":"info","message":"GET /devices/30d0bade-e9fc-4372-911d-779f18ebfeea? 200 11ms","method":"GET","requestID":"9527c2990e3d25bb3476e53e9d79b0bc","responseTime":11,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/30d0bade-e9fc-4372-911d-779f18ebfeea? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9527c2990e3d25bb3476e53e9d79b0bc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY","level":"info","message":"auth send jwt","requestID":"118f7e9b567ca30bddba763101957d1e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"118f7e9b567ca30bddba763101957d1e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"118f7e9b567ca30bddba763101957d1e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.669588,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"118f7e9b567ca30bddba763101957d1e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"118f7e9b567ca30bddba763101957d1e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.690873826Z"}]},"request_id":"6bb947c5-3fe5-4136-a152-86ff806a59bb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.6926975} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"118f7e9b567ca30bddba763101957d1e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"118f7e9b567ca30bddba763101957d1e"} device-1 | {"level":"info","message":"GET /devices/9b382684-99a3-4b32-a10c-2721b114c5a4? 200 11ms","method":"GET","requestID":"118f7e9b567ca30bddba763101957d1e","responseTime":11,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9b382684-99a3-4b32-a10c-2721b114c5a4? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"118f7e9b567ca30bddba763101957d1e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY","level":"info","message":"auth send jwt","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.652838,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Attempting to run experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Attempting to book experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully booked experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"39417f90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3941cdb0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.468516,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"39417f90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"39417f90-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.864991,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3941cdb0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3941cdb0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.644548680Z"}]},"request_id":"d7d6b965-0989-4d65-b27c-34c6370159aa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.7482026} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"39417f90-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.690873826Z"}]},"request_id":"c78f2f37-857b-4a4d-9ef1-6d2e8b6ceb6a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.7491004} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3941cdb0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"39417f90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/30d0bade-e9fc-4372-911d-779f18ebfeea? 200 16ms","method":"GET","requestID":"39417f90-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3941cdb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9b382684-99a3-4b32-a10c-2721b114c5a4? 200 15ms","method":"GET","requestID":"3941cdb0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Setting up experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully locked booking for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Attempting to update booking for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully updated booking for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully set up experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3949e400-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"394a0b10-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully running experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"394a5930-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.954234,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3949e400-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3949e400-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.651872,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"394a0b10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"394a0b10-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"91cee241-2b5b-4d1d-8dff-12f000023481","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8023596} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.727615,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"394a5930-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","rebac_allow":false,"scope_allow":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":"394a5930-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.644548680Z"}]},"request_id":"35c0f40d-53f9-4de2-a135-b73ea0d0d54e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8049245} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3949e400-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.690873826Z"}]},"request_id":"2e482869-dd40-44f8-9bc5-6fffb8a278a5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8080916} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"394a0b10-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"394a5930-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling 200 16ms","method":"POST","requestID":"394a5930-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3949e400-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/30d0bade-e9fc-4372-911d-779f18ebfeea? 200 23ms","method":"GET","requestID":"3949e400-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"394d6670-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"394a0b10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9b382684-99a3-4b32-a10c-2721b114c5a4? 200 24ms","method":"GET","requestID":"394a0b10-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe49f40a6-9e5a-435c-87e7-67377eed4058#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe49f40a6-9e5a-435c-87e7-67377eed4058","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"fe2696b1-a9a6-4e22-8574-b8de73fee905","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8179145} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"45cc6f1f-74cc-4b96-b4f9-4fd7acdf0c34","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8182926} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d435cfe8-bed1-41f7-b452-8d2ba0b7380d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8211474} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.022393,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"394e77e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"394d6670-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","rebac_allow":false,"scope_allow":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":"394d6670-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"394d6670-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling 200 12ms","method":"POST","requestID":"394d6670-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f590dc37-090f-4c92-910c-cdd372ae5e5b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8279395} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.012722,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"394e77e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","rebac_allow":false,"scope_allow":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":"394e77e0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"777","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 130ms","method":"POST","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b","responseTime":130,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"394e77e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling 200 11ms","method":"POST","requestID":"394e77e0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY","level":"info","message":"auth send jwt","requestID":"0d41a114223895658a58ae9d137ce9a1"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0d41a114223895658a58ae9d137ce9a1","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"39509ac0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0d41a114223895658a58ae9d137ce9a1"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"46e3519d-8f7a-44df-8681-81ffe0e83188","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8409631} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.535024,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.888749,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"39509ac0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","rebac_allow":false,"scope_allow":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":"39509ac0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0d41a114223895658a58ae9d137ce9a1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0d41a114223895658a58ae9d137ce9a1","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"39509ac0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling 200 13ms","method":"POST","requestID":"39509ac0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4/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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.644548680Z"}]},"request_id":"8e776fd0-76ff-44b3-beff-6a91283691d0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8496854} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Building connection plan","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"7cedb560-b5a2-473f-8424-bc8796397100"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"66c22f31-f1b9-4637-a904-6b8f6aaec653"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"6cdf8ad3-ae46-4a99-b750-d4237dc8ff34"}]},"level":"info","message":"Built pairwise service configurations","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0d41a114223895658a58ae9d137ce9a1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0d41a114223895658a58ae9d137ce9a1"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/30d0bade-e9fc-4372-911d-779f18ebfeea? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0d41a114223895658a58ae9d137ce9a1"} device-1 | {"level":"info","message":"GET /devices/30d0bade-e9fc-4372-911d-779f18ebfeea? 200 19ms","method":"GET","requestID":"0d41a114223895658a58ae9d137ce9a1","responseTime":19,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.908769,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY","level":"info","message":"auth send jwt","requestID":"6be85a36a6d891c484dde48abee262bc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6be85a36a6d891c484dde48abee262bc","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6be85a36a6d891c484dde48abee262bc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.638268,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6be85a36a6d891c484dde48abee262bc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684553,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1M30.AFe1Q0dO236DF1aOoAoModlR9F8V--Dig0EOIc2bncY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6be85a36a6d891c484dde48abee262bc","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a01e0588-6e08-48fa-a7ce-75767dba22ee","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8739898} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"93b03ea2-8bb1-42cb-ba0b-79e799b200b0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8743217} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:31.690873826Z"}]},"request_id":"246101f4-028f-4052-a248-36d6965c5965","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.8756504} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6be85a36a6d891c484dde48abee262bc","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6be85a36a6d891c484dde48abee262bc"} gateway-1 | {"time_local":"26/Aug/2024:15:02:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9b382684-99a3-4b32-a10c-2721b114c5a4? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6be85a36a6d891c484dde48abee262bc"} device-1 | {"level":"info","message":"GET /devices/9b382684-99a3-4b32-a10c-2721b114c5a4? 200 28ms","method":"GET","requestID":"6be85a36a6d891c484dde48abee262bc","responseTime":28,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292'","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292'","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 42ms","method":"POST","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b","responseTime":42,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"395359e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","device":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"fadd8b3433c6710fcb4fb0b4ba790f3b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"395e5660-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dfe7c19d-1d4f-4002-b246-f42868d84912","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.9312892} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.126779,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"395e5660-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","rebac_allow":false,"scope_allow":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":"395e5660-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"395e5660-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling 200 9ms","method":"POST","requestID":"395e5660-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"39600410-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"47339a3f-5362-48f6-8ccb-3dc56edadab7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684553.941842} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.235915,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"39600410-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","rebac_allow":false,"scope_allow":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":"39600410-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"39600410-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling 200 9ms","method":"POST","requestID":"39600410-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling"} device-1 | {"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 2298767555261911271 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:OU7C\r\na=ice-pwd:bXcTRx2cizDPOb+MfsaRgZeW\r\na=ice-options:trickle\r\na=fingerprint:sha-256 51:EE:BC:9C:A9:DE:39:A1:D5:3F:EF:02:1F:2E:0D:22:4C:95:6C:1C:D1:7D:54:F0:A9:DE:AF:7F:C9:8C:7E: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":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 5251748265575760355 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:fKxg\r\na=ice-pwd:0rLCWfhV8uY7f6Z/yHrjCAuy\r\na=ice-options:trickle\r\na=fingerprint:sha-256 AE:53:B4:94:19:B6:22:35:33:B7:2E:3B:25:02:D0:D3:A4:39:2B:7B:6A:60:1B:F5:29:D5:9C:8A:C8:FF:5C:8E\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1534049911 1 udp 2113937151 e0977a15-9997-413c-9e10-fdb0ebb794af.local 41811 typ host generation 0 ufrag fKxg network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","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/30d0bade-e9fc-4372-911d-779f18ebfeea'"} device-1 | {"content":{"candidate":"candidate:3745698824 1 udp 1677729535 141.24.211.56 41811 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag fKxg network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","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/30d0bade-e9fc-4372-911d-779f18ebfeea'"} device-1 | {"content":{"candidate":"candidate:3666647197 1 udp 2113937151 ac61ecb4-05e4-44d0-adcd-54d2913b01ba.local 48671 typ host generation 0 ufrag OU7C network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1587671778 1 udp 1677729535 141.24.211.56 48671 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag OU7C network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"9b382684-99a3-4b32-a10c-2721b114c5a4","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/9b382684-99a3-4b32-a10c-2721b114c5a4'"} device-1 | {"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","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/0e8ff365-077e-45c6-8500-90cf2d9e6292' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0e8ff365-077e-45c6-8500-90cf2d9e6292","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4f7d7600de736a37a468f7c23c1f8430","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"4f7d7600de736a37a468f7c23c1f8430","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292"}}},"level":"info","message":"received a callback","requestID":"4f7d7600de736a37a468f7c23c1f8430"} device-1 | {"device":"9b382684-99a3-4b32-a10c-2721b114c5a4","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"4f7d7600de736a37a468f7c23c1f8430","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"4f7d7600de736a37a468f7c23c1f8430"} device-1 | {"device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"0e8ff365-077e-45c6-8500-90cf2d9e6292","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"0e8ff365-077e-45c6-8500-90cf2d9e6292","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/0e8ff365-077e-45c6-8500-90cf2d9e6292' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0e8ff365-077e-45c6-8500-90cf2d9e6292","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f9762a778d019fc93746798cda6cb10e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f9762a778d019fc93746798cda6cb10e","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292"}}},"level":"info","message":"received a callback","requestID":"f9762a778d019fc93746798cda6cb10e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"3970ccf0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0e8ff365-077e-45c6-8500-90cf2d9e6292","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a09b9092-6cab-40e6-b9b0-5f8d88e0649d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.0538087} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.244363,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3970ccf0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","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":"3970ccf0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"3970ccf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292 200 17ms","method":"GET","requestID":"3970ccf0-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 45ms","method":"POST","requestID":"f9762a778d019fc93746798cda6cb10e","responseTime":45,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"f9762a778d019fc93746798cda6cb10e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"39762420-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d0ece36a-8997-4779-ab2d-35f10138bbe2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.087245} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.86879,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"39762420-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","rebac_allow":false,"scope_allow":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":"39762420-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"39762420-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling 200 13ms","method":"POST","requestID":"39762420-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"39789520-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0521991c-f1de-4c88-9fe7-8cae6ad7680b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.1024106} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.48069,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"39789520-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"39789520-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"39789520-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling 200 10ms","method":"POST","requestID":"39789520-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I","level":"info","message":"auth send jwt","requestID":"6422f3278b0df2a93609c17274966f51"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6422f3278b0df2a93609c17274966f51","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","requestID":"6422f3278b0df2a93609c17274966f51"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.687501,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6422f3278b0df2a93609c17274966f51","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684554,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6422f3278b0df2a93609c17274966f51","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","requestID":"6422f3278b0df2a93609c17274966f51"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058 HTTP/1.1","status": "200","body_bytes_sent":"850","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6422f3278b0df2a93609c17274966f51"} experiment-1 | {"level":"info","message":"GET /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058 200 11ms","method":"GET","requestID":"6422f3278b0df2a93609c17274966f51","responseTime":11,"status":200,"url":"/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I","level":"info","message":"auth send jwt","requestID":"b21cf0b42aebfc0031444b5f3330c898"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b21cf0b42aebfc0031444b5f3330c898","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","requestID":"b21cf0b42aebfc0031444b5f3330c898"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.6417,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b21cf0b42aebfc0031444b5f3330c898","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684554,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b21cf0b42aebfc0031444b5f3330c898","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Attempting to finish experiment","requestID":"b21cf0b42aebfc0031444b5f3330c898"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"39934910-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.677031,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"39934910-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684554,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"39934910-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","device":"30d0bade-e9fc-4372-911d-779f18ebfeea","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292","device":"9b382684-99a3-4b32-a10c-2721b114c5a4","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/0e8ff365-077e-45c6-8500-90cf2d9e6292' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0e8ff365-077e-45c6-8500-90cf2d9e6292","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0e8ff365-077e-45c6-8500-90cf2d9e6292': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0e8ff365-077e-45c6-8500-90cf2d9e6292","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"60254726-7f41-4569-bb2d-ab40f9e09167","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.2892687} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ec6ca9ab-bdcc-4594-b939-53ac70872886","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.2895596} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"727889b102118d87521fd08a8752ae21","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"727889b102118d87521fd08a8752ae21","responseTime":0,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"45cbf22ade6a7a6278beae0b9ac91c4d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"45cbf22ade6a7a6278beae0b9ac91c4d","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292"}}},"level":"info","message":"received a callback","requestID":"727889b102118d87521fd08a8752ae21"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292"}}},"level":"info","message":"received a callback","requestID":"45cbf22ade6a7a6278beae0b9ac91c4d"} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"39934910-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"0e8ff365-077e-45c6-8500-90cf2d9e6292","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"39934910-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292 204 39ms","method":"DELETE","requestID":"39934910-63bc-11ef-bd85-dbaeea89054b","responseTime":39,"status":204,"url":"/peerconnections/0e8ff365-077e-45c6-8500-90cf2d9e6292"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"},"level":"info","message":"Successfully finished experiment","requestID":"b21cf0b42aebfc0031444b5f3330c898"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"399bad80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F30d0bade-e9fc-4372-911d-779f18ebfeea","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1b376a83-8623-4254-85d8-4970cc1c52a5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.3328133} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.231532,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"399bad80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/30d0bade-e9fc-4372-911d-779f18ebfeea","object_type":"device","rebac_allow":false,"scope_allow":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":"399bad80-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"399bad80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling 200 9ms","method":"POST","requestID":"399bad80-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/30d0bade-e9fc-4372-911d-779f18ebfeea/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe49f40a6-9e5a-435c-87e7-67377eed4058': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe49f40a6-9e5a-435c-87e7-67377eed4058","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"b5210260-2320-489b-a3a3-fa54f47686dc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.339685} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"399d8240-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"25e66ba8-1052-486f-b333-7d0d417759e9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.340096} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"b21cf0b42aebfc0031444b5f3330c898","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9b382684-99a3-4b32-a10c-2721b114c5a4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"488e8b8c-e36f-41fc-811e-44de86903a84","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.345462} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.003719,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"399d8240-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"399d8240-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"399d8240-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling 200 9ms","method":"POST","requestID":"399d8240-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/9b382684-99a3-4b32-a10c-2721b114c5a4/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058","requestID":"b21cf0b42aebfc0031444b5f3330c898"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.137","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b21cf0b42aebfc0031444b5f3330c898"} experiment-1 | {"level":"info","message":"DELETE /experiments/e49f40a6-9e5a-435c-87e7-67377eed4058 204 136ms","method":"DELETE","requestID":"b21cf0b42aebfc0031444b5f3330c898","responseTime":136,"status":204,"url":"/experiments/e49f40a6-9e5a-435c-87e7-67377eed4058"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 112ms","method":"POST","requestID":"727889b102118d87521fd08a8752ae21","responseTime":112,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.114","http_referrer":"","http_user_agent":"node-fetch","requestID":"727889b102118d87521fd08a8752ae21"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I","level":"info","message":"auth send jwt","requestID":"ce679b21803fec2908918a4b669f698e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 112ms","method":"POST","requestID":"45cbf22ade6a7a6278beae0b9ac91c4d","responseTime":112,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ce679b21803fec2908918a4b669f698e","responseTime":3,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.116","http_referrer":"","http_user_agent":"node-fetch","requestID":"45cbf22ade6a7a6278beae0b9ac91c4d"} device-1 | {"level":"info","message":"postDevices called","requestID":"ce679b21803fec2908918a4b669f698e"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2631","request_time":"0.755","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3ff3dde63650578bd77a276c623851ab"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2631","request_time":"0.786","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5fa0887d0a29ecb1b7113cf82fd1b315"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.964525,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ce679b21803fec2908918a4b669f698e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684554,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ce679b21803fec2908918a4b669f698e","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/30d0bade-e9fc-4372-911d-779f18ebfeea' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9b382684-99a3-4b32-a10c-2721b114c5a4' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e521f7a7-463c-4d86-8c48-ce30e72df006","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.4269073} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ce679b21803fec2908918a4b669f698e","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67aeade2-5601-4db1-a0f7-141c84a32721","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.431947} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ce679b21803fec2908918a4b669f698e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"01c22aa4-28d5-4038-b13c-63199852e2ff","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.4439483} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"beb8ea4c-a82d-496f-afbb-43fcaae9f404","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.4441354} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"ce679b21803fec2908918a4b669f698e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.443931831Z"}]},"request_id":"0bdb9454-d1c5-4b09-8d12-3cca6937bf4b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.4485137} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ce679b21803fec2908918a4b669f698e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ce679b21803fec2908918a4b669f698e"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ce679b21803fec2908918a4b669f698e"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"ce679b21803fec2908918a4b669f698e","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I","level":"info","message":"auth send jwt","requestID":"9865abbb132442abd714b6c2125628c9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9865abbb132442abd714b6c2125628c9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9865abbb132442abd714b6c2125628c9"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.921189,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9865abbb132442abd714b6c2125628c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684554,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NH0.dC4BE_x0XSOMGYG4PBpIREmFkmHSG0wWW3CKSlyj66I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9865abbb132442abd714b6c2125628c9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4bdae338-2de8-45b3-b57c-c9b847118fdd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.471139} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9865abbb132442abd714b6c2125628c9","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9ac95a97-89f9-4967-a1b1-4661fb4db6bf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.4757457} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"9865abbb132442abd714b6c2125628c9","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"8055ef41-d517-4d55-8f8a-dc3ea22d94fe","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.4834206} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"812225c8-926b-452f-83be-0e7516a4835c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.483538} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"9865abbb132442abd714b6c2125628c9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.483402950Z"}]},"request_id":"c1e440a4-25eb-472b-af6d-db7013598783","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684554.4875917} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9865abbb132442abd714b6c2125628c9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9865abbb132442abd714b6c2125628c9"} device-1 | {"level":"info","message":"POST /devices? 201 32ms","method":"POST","requestID":"9865abbb132442abd714b6c2125628c9","responseTime":32,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.037","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9865abbb132442abd714b6c2125628c9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NX0.AdZnLxkdLVfPXADmA64WHsqWYD1ix70W9CTqJSqtO0Q","level":"info","message":"auth send jwt","requestID":"d23a7ed83cdb398cb519876ba80da849"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d23a7ed83cdb398cb519876ba80da849","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d23a7ed83cdb398cb519876ba80da849"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:35Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.721773,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d23a7ed83cdb398cb519876ba80da849","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684555,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NX0.AdZnLxkdLVfPXADmA64WHsqWYD1ix70W9CTqJSqtO0Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d23a7ed83cdb398cb519876ba80da849","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.483402950Z"}]},"request_id":"ef879385-5b9f-42a9-a161-e720488e204d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684555.0190647} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d23a7ed83cdb398cb519876ba80da849","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eb5b615a-9f91-4cde-a0b9-8c009de422a4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684555.025218} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d23a7ed83cdb398cb519876ba80da849","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.483402950Z"}]},"request_id":"dee09e77-e05d-40c3-b4fa-ac1e9b613e4f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684555.0358503} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d23a7ed83cdb398cb519876ba80da849","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d23a7ed83cdb398cb519876ba80da849"} gateway-1 | {"time_local":"26/Aug/2024:15:02:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/9dc24198-0d7f-42d4-9189-c874481768bc HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.035","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d23a7ed83cdb398cb519876ba80da849"} device-1 | {"level":"info","message":"PATCH /devices/9dc24198-0d7f-42d4-9189-c874481768bc 200 31ms","method":"PATCH","requestID":"d23a7ed83cdb398cb519876ba80da849","responseTime":31,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NX0.AdZnLxkdLVfPXADmA64WHsqWYD1ix70W9CTqJSqtO0Q","level":"info","message":"auth send jwt","requestID":"f05b03bcc33f908426dfbe1abca060ef"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f05b03bcc33f908426dfbe1abca060ef","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f05b03bcc33f908426dfbe1abca060ef"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:35Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.687581,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f05b03bcc33f908426dfbe1abca060ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684555,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1NX0.AdZnLxkdLVfPXADmA64WHsqWYD1ix70W9CTqJSqtO0Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f05b03bcc33f908426dfbe1abca060ef","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f05b03bcc33f908426dfbe1abca060ef"} gateway-1 | {"time_local":"26/Aug/2024:15:02:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9dc24198-0d7f-42d4-9189-c874481768bc/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.018","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f05b03bcc33f908426dfbe1abca060ef"} device-1 | {"level":"info","message":"POST /devices/9dc24198-0d7f-42d4-9189-c874481768bc/websocket 200 14ms","method":"POST","requestID":"f05b03bcc33f908426dfbe1abca060ef","responseTime":14,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"09814020b4bd6d2a8e99aafba544b474","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"09814020b4bd6d2a8e99aafba544b474","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e50a947c-3974-4579-9a75-706df441a74d/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":"09814020b4bd6d2a8e99aafba544b474"} device-1 | {"level":"info","message":"OPTIONS /devices/e50a947c-3974-4579-9a75-706df441a74d/websocket 200 1ms","method":"OPTIONS","requestID":"09814020b4bd6d2a8e99aafba544b474","responseTime":1,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI","level":"info","message":"auth send jwt","requestID":"1a9b466616d09d7f2a30a0a7dd488269"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1a9b466616d09d7f2a30a0a7dd488269","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1a9b466616d09d7f2a30a0a7dd488269"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.305972,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1a9b466616d09d7f2a30a0a7dd488269","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1a9b466616d09d7f2a30a0a7dd488269","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1a9b466616d09d7f2a30a0a7dd488269"} gateway-1 | {"time_local":"26/Aug/2024:15:02:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e50a947c-3974-4579-9a75-706df441a74d/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":"1a9b466616d09d7f2a30a0a7dd488269"} device-1 | {"level":"info","message":"POST /devices/e50a947c-3974-4579-9a75-706df441a74d/websocket 200 23ms","method":"POST","requestID":"1a9b466616d09d7f2a30a0a7dd488269","responseTime":23,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI","level":"info","message":"auth send jwt","requestID":"90b51142d1eda9302ccd8b368c49eb25"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"90b51142d1eda9302ccd8b368c49eb25","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"90b51142d1eda9302ccd8b368c49eb25"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.308474,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"90b51142d1eda9302ccd8b368c49eb25","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"90b51142d1eda9302ccd8b368c49eb25","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.443931831Z"}]},"request_id":"05f0ee64-79c3-4d53-946c-cce5dce395c7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.4518433} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"90b51142d1eda9302ccd8b368c49eb25","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"90b51142d1eda9302ccd8b368c49eb25"} gateway-1 | {"time_local":"26/Aug/2024:15:02:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e50a947c-3974-4579-9a75-706df441a74d? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"90b51142d1eda9302ccd8b368c49eb25"} device-1 | {"level":"info","message":"GET /devices/e50a947c-3974-4579-9a75-706df441a74d? 200 18ms","method":"GET","requestID":"90b51142d1eda9302ccd8b368c49eb25","responseTime":18,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI","level":"info","message":"auth send jwt","requestID":"97cf5b89f52a98d070b2bfda98706eed"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"97cf5b89f52a98d070b2bfda98706eed","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"97cf5b89f52a98d070b2bfda98706eed"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.251843,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"97cf5b89f52a98d070b2bfda98706eed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"97cf5b89f52a98d070b2bfda98706eed","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.483402950Z"}]},"request_id":"48ade3c9-cafb-4275-8e48-30f753dc3e51","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.4774525} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"97cf5b89f52a98d070b2bfda98706eed","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"97cf5b89f52a98d070b2bfda98706eed"} gateway-1 | {"time_local":"26/Aug/2024:15:02:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9dc24198-0d7f-42d4-9189-c874481768bc? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"97cf5b89f52a98d070b2bfda98706eed"} device-1 | {"level":"info","message":"GET /devices/9dc24198-0d7f-42d4-9189-c874481768bc? 200 18ms","method":"GET","requestID":"97cf5b89f52a98d070b2bfda98706eed","responseTime":18,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI","level":"info","message":"auth send jwt","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"abbbad7213fe17d78b5d4a27f31157cc","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.124983,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"abbbad7213fe17d78b5d4a27f31157cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"abbbad7213fe17d78b5d4a27f31157cc","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Attempting to run experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Attempting to book experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully booked experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3aed0cb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3aed5ad0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.70426,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3aed0cb0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3aed0cb0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.605177,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3aed5ad0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3aed5ad0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.443931831Z"}]},"request_id":"063399b4-61b4-4ead-8616-c54476f020d1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.5491145} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3aed0cb0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.483402950Z"}]},"request_id":"2ea98ab5-e023-4b63-8069-cf232f4e86ba","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.5505192} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3aed5ad0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3aed0cb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/e50a947c-3974-4579-9a75-706df441a74d? 200 19ms","method":"GET","requestID":"3aed0cb0-63bc-11ef-bd85-dbaeea89054b","responseTime":19,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3aed5ad0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9dc24198-0d7f-42d4-9189-c874481768bc? 200 17ms","method":"GET","requestID":"3aed5ad0-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Setting up experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully locked booking for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Attempting to update booking for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully updated booking for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully set up experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3af8f390-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3af941b0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully running experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3af9ddf0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.699178,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3af8f390-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3af8f390-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.934692,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3af941b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"3af941b0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.440793,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d9132653-5e7b-4005-ad7c-5cb7a75c8728","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.631524} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3af9ddf0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","rebac_allow":false,"scope_allow":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":"3af9ddf0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.443931831Z"}]},"request_id":"b99b549c-e7f0-4e83-aa0e-8a1f28801fef","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.636539} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"3af8f390-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3af9ddf0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.483402950Z"}]},"request_id":"a874fa27-a0b0-4d83-bec2-755bf119c1c9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.641713} device-1 | {"level":"info","message":"POST /devices/e50a947c-3974-4579-9a75-706df441a74d/signaling 200 20ms","method":"POST","requestID":"3af9ddf0-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3af941b0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F871e98a7-55af-4c98-9872-c5a86d7e4b84#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F871e98a7-55af-4c98-9872-c5a86d7e4b84","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d4d6b524-85d1-4094-80f6-8edc21f5bf7f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.6473958} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e6af1d1c-4df8-40a7-ad15-b27df2e6006c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.6478825} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3afdae80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"abbbad7213fe17d78b5d4a27f31157cc","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3af8f390-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/e50a947c-3974-4579-9a75-706df441a74d? 200 36ms","method":"GET","requestID":"3af8f390-63bc-11ef-bd85-dbaeea89054b","responseTime":36,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d?"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3af941b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9dc24198-0d7f-42d4-9189-c874481768bc? 200 35ms","method":"GET","requestID":"3af941b0-63bc-11ef-bd85-dbaeea89054b","responseTime":35,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"91462676-4588-4a64-8fdb-62edbc022bb7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.655225} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.363492,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3afdae80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","rebac_allow":false,"scope_allow":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":"3afdae80-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3aff8340-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3afdae80-63bc-11ef-bd85-dbaeea89054b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"781","request_time":"0.178","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"level":"info","message":"POST /experiments? 201 171ms","method":"POST","requestID":"abbbad7213fe17d78b5d4a27f31157cc","responseTime":171,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling 200 15ms","method":"POST","requestID":"3afdae80-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7b237db3-f0d2-4c0a-b96c-40ec1a2d751e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.6669514} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.771075,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3aff8340-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","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.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI","level":"info","message":"auth send jwt","requestID":"7c7886c0250d52dc4265b5027ef32d87"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"3aff8340-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7c7886c0250d52dc4265b5027ef32d87","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c7886c0250d52dc4265b5027ef32d87"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3aff8340-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e50a947c-3974-4579-9a75-706df441a74d/signaling 200 13ms","method":"POST","requestID":"3aff8340-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d/signaling"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.773281,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"7c7886c0250d52dc4265b5027ef32d87","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7c7886c0250d52dc4265b5027ef32d87","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b01cd30-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.443931831Z"}]},"request_id":"b6f576de-ef63-44c4-a4ce-df4eefd3a7fb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.6796186} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4e615f13-9b6e-4a94-b299-3d54bf69afce","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.6798096} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7c7886c0250d52dc4265b5027ef32d87","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.197412,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3b01cd30-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","rebac_allow":false,"scope_allow":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":"3b01cd30-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c7886c0250d52dc4265b5027ef32d87"} gateway-1 | {"time_local":"26/Aug/2024:15:02:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e50a947c-3974-4579-9a75-706df441a74d? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7c7886c0250d52dc4265b5027ef32d87"} device-1 | {"level":"info","message":"GET /devices/e50a947c-3974-4579-9a75-706df441a74d? 200 14ms","method":"GET","requestID":"7c7886c0250d52dc4265b5027ef32d87","responseTime":14,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b01cd30-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling 200 11ms","method":"POST","requestID":"3b01cd30-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Building connection plan","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"9560ed45-998a-4c19-96d3-068e4aa26199"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"f1e4cf8f-4453-4b58-9aff-0844c07efcc4"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"5b32f638-6fcb-4e5b-8224-118de25511a1"}]},"level":"info","message":"Built pairwise service configurations","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI","level":"info","message":"auth send jwt","requestID":"c8a8aec07156ef58f74d9728ded47cb4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c8a8aec07156ef58f74d9728ded47cb4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c8a8aec07156ef58f74d9728ded47cb4"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.693748,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.500179,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c8a8aec07156ef58f74d9728ded47cb4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684556,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1Nn0.AKkEIPE5yS6mnWtD-jAd9D9TOltuy_jXoV_WlC3IzHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c8a8aec07156ef58f74d9728ded47cb4","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:34.483402950Z"}]},"request_id":"06430316-8a38-4acd-94d0-23dc64de83b5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.6973238} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c8a8aec07156ef58f74d9728ded47cb4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c8a8aec07156ef58f74d9728ded47cb4"} gateway-1 | {"time_local":"26/Aug/2024:15:02:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9dc24198-0d7f-42d4-9189-c874481768bc? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c8a8aec07156ef58f74d9728ded47cb4"} device-1 | {"level":"info","message":"GET /devices/9dc24198-0d7f-42d4-9189-c874481768bc? 200 11ms","method":"GET","requestID":"c8a8aec07156ef58f74d9728ded47cb4","responseTime":11,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"b1721827-7554-45eb-a16b-19d606caac68","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.7013185} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f4a872b2-9fb9-4feb-a771-9cf41f89d251","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.7014713} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467'","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467'","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"3b03f010-63bc-11ef-bd85-dbaeea89054b"} 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":"3b03f010-63bc-11ef-bd85-dbaeea89054b","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":"3b03f010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467","device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"abbbad7213fe17d78b5d4a27f31157cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b0cc9b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6e8b26c8-da8f-4821-b07e-7724f3f0e682","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.7524376} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.657929,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} device-1 | {"device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"e50a947c-3974-4579-9a75-706df441a74d","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/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3b0cc9b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3b0cc9b0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b0cc9b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e50a947c-3974-4579-9a75-706df441a74d/signaling 200 10ms","method":"POST","requestID":"3b0cc9b0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3b0eec90-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"adb32a88-c9db-4d84-b62d-4be8a70aba67","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684556.765973} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.423732,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3b0eec90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","rebac_allow":false,"scope_allow":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":"3b0eec90-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3b0eec90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling 200 9ms","method":"POST","requestID":"3b0eec90-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling"} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"8f06eeed-21fe-4f37-b6ce-178ec7eeb467","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 8992324745305545302 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:iJqz\r\na=ice-pwd:vI8XEendj0Rcylc+44/rNKSH\r\na=ice-options:trickle\r\na=fingerprint:sha-256 05:3C:D0:B5:06:A8:9A:7B:A3:E4:E7:E4:40:21:E2:B7:1C:77:E6:4E:54:49:F9:C5:C1:96:38:B4:BD:8A:7E:CA\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:608482862 1 udp 2113937151 e5659f65-cade-4acb-a5f4-36dc5335efc1.local 59899 typ host generation 0 ufrag iJqz network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"content":{"candidate":"candidate:2691292241 1 udp 1677729535 141.24.211.56 59899 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag iJqz network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/8f06eeed-21fe-4f37-b6ce-178ec7eeb467' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8f06eeed-21fe-4f37-b6ce-178ec7eeb467","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"e50a947c-3974-4579-9a75-706df441a74d","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/e50a947c-3974-4579-9a75-706df441a74d'"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"37688c0ce6d764bd5de1772f5f82c30f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"37688c0ce6d764bd5de1772f5f82c30f","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467"}}},"level":"info","message":"received a callback","requestID":"37688c0ce6d764bd5de1772f5f82c30f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"37688c0ce6d764bd5de1772f5f82c30f","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"37688c0ce6d764bd5de1772f5f82c30f"} device-1 | {"data":{"peerconnection":"8f06eeed-21fe-4f37-b6ce-178ec7eeb467","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"8f06eeed-21fe-4f37-b6ce-178ec7eeb467","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"e50a947c-3974-4579-9a75-706df441a74d","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/8f06eeed-21fe-4f37-b6ce-178ec7eeb467' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8f06eeed-21fe-4f37-b6ce-178ec7eeb467","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e18d823c675fc04d039b5b8cfde01967","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"e18d823c675fc04d039b5b8cfde01967","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467"}}},"level":"info","message":"received a callback","requestID":"e18d823c675fc04d039b5b8cfde01967"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"3c572400-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:38Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8f06eeed-21fe-4f37-b6ce-178ec7eeb467","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9b979955-2ea1-41e1-8cf9-ee0534d811fc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684558.9183717} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.085937,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c572400-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467","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":"3c572400-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"3c572400-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467 200 11ms","method":"GET","requestID":"3c572400-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 39ms","method":"POST","requestID":"e18d823c675fc04d039b5b8cfde01967","responseTime":39,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"e18d823c675fc04d039b5b8cfde01967"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3c5bdef0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:38Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"72035dd4-3892-4e75-b97c-5f9d9b9f9b12","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684558.9487057} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.726999,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c5bdef0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","rebac_allow":false,"scope_allow":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":"3c5bdef0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3c5bdef0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e50a947c-3974-4579-9a75-706df441a74d/signaling 200 11ms","method":"POST","requestID":"3c5bdef0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3c5ddac0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:38Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3a30e23c-71cb-4719-8539-cc601801b369","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684558.961987} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.564342,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c5ddac0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","rebac_allow":false,"scope_allow":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":"3c5ddac0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3c5ddac0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling 200 11ms","method":"POST","requestID":"3c5ddac0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI","level":"info","message":"auth send jwt","requestID":"b5c956ce2b88d58558cb2d7ba59374a8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b5c956ce2b88d58558cb2d7ba59374a8","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","requestID":"b5c956ce2b88d58558cb2d7ba59374a8"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.164319,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b5c956ce2b88d58558cb2d7ba59374a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684559,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b5c956ce2b88d58558cb2d7ba59374a8","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","requestID":"b5c956ce2b88d58558cb2d7ba59374a8"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84 HTTP/1.1","status": "200","body_bytes_sent":"854","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b5c956ce2b88d58558cb2d7ba59374a8"} experiment-1 | {"level":"info","message":"GET /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84 200 16ms","method":"GET","requestID":"b5c956ce2b88d58558cb2d7ba59374a8","responseTime":16,"status":200,"url":"/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI","level":"info","message":"auth send jwt","requestID":"e62db740f406654299e97a758dad4049"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e62db740f406654299e97a758dad4049","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","requestID":"e62db740f406654299e97a758dad4049"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.322645,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e62db740f406654299e97a758dad4049","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684559,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e62db740f406654299e97a758dad4049","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Attempting to finish experiment","requestID":"e62db740f406654299e97a758dad4049"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"3c8734b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.270761,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c8734b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684559,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c8734b0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467","device":"e50a947c-3974-4579-9a75-706df441a74d","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9dc24198-0d7f-42d4-9189-c874481768bc","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/8f06eeed-21fe-4f37-b6ce-178ec7eeb467' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8f06eeed-21fe-4f37-b6ce-178ec7eeb467","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8f06eeed-21fe-4f37-b6ce-178ec7eeb467': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8f06eeed-21fe-4f37-b6ce-178ec7eeb467","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"c018734c-0ce1-4d48-b308-95ab0ffa3659","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.2502632} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"746059c4-4a2e-44f7-a7a0-d16e12d7b73b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.250511} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a8d5ee72e34e113ee71aaea2ae2d7b21","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a8d5ee72e34e113ee71aaea2ae2d7b21","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c9f55ba4874396d048b5cdf9d2de5d3d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c9f55ba4874396d048b5cdf9d2de5d3d","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"3c8734b0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467"}}},"level":"info","message":"received a callback","requestID":"a8d5ee72e34e113ee71aaea2ae2d7b21"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467"}}},"level":"info","message":"received a callback","requestID":"c9f55ba4874396d048b5cdf9d2de5d3d"} device-1 | {"data":{"peerconnection":"8f06eeed-21fe-4f37-b6ce-178ec7eeb467","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"3c8734b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467 204 46ms","method":"DELETE","requestID":"3c8734b0-63bc-11ef-bd85-dbaeea89054b","responseTime":46,"status":204,"url":"/peerconnections/8f06eeed-21fe-4f37-b6ce-178ec7eeb467"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"},"level":"info","message":"Successfully finished experiment","requestID":"e62db740f406654299e97a758dad4049"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3c916de0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe50a947c-3974-4579-9a75-706df441a74d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8be4b5e0-5c14-4b9b-ab3e-45024ad1596b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.298817} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.40439,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c916de0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e50a947c-3974-4579-9a75-706df441a74d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c916de0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3c916de0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e50a947c-3974-4579-9a75-706df441a74d/signaling 200 9ms","method":"POST","requestID":"3c916de0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/e50a947c-3974-4579-9a75-706df441a74d/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F871e98a7-55af-4c98-9872-c5a86d7e4b84': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F871e98a7-55af-4c98-9872-c5a86d7e4b84","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"56a2353c-bdeb-44f8-ba0c-920651d5a7b2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.305637} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3c9342a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0987cebf-21dd-4c6b-aea5-8b59b2afc766","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.3068419} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"e62db740f406654299e97a758dad4049","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9dc24198-0d7f-42d4-9189-c874481768bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5820ca0d-5bba-42e6-a3a0-0432c419b482","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.3113363} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.651222,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c9342a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c9342a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3c9342a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling 200 10ms","method":"POST","requestID":"3c9342a0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/9dc24198-0d7f-42d4-9189-c874481768bc/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84","requestID":"e62db740f406654299e97a758dad4049"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84 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":"e62db740f406654299e97a758dad4049"} experiment-1 | {"level":"info","message":"DELETE /experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84 204 162ms","method":"DELETE","requestID":"e62db740f406654299e97a758dad4049","responseTime":162,"status":204,"url":"/experiments/871e98a7-55af-4c98-9872-c5a86d7e4b84"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2581","request_time":"4.310","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a66ebd6bf51cf919627d3ba92804a6a8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"a8d5ee72e34e113ee71aaea2ae2d7b21","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.123","http_referrer":"","http_user_agent":"node-fetch","requestID":"a8d5ee72e34e113ee71aaea2ae2d7b21"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI","level":"info","message":"auth send jwt","requestID":"870b2283b3224f6d86085ddfafb1e9ff"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"c9f55ba4874396d048b5cdf9d2de5d3d","responseTime":119,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"870b2283b3224f6d86085ddfafb1e9ff","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"c9f55ba4874396d048b5cdf9d2de5d3d"} device-1 | {"level":"info","message":"postDevices called","requestID":"870b2283b3224f6d86085ddfafb1e9ff"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2490","request_time":"2.966","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4a070831ec7817b00480f8fecc1108c7"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9dc24198-0d7f-42d4-9189-c874481768bc' closed"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.105249,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"870b2283b3224f6d86085ddfafb1e9ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684559,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"870b2283b3224f6d86085ddfafb1e9ff","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/e50a947c-3974-4579-9a75-706df441a74d' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"eac5de65-9a06-4ea7-9322-2e0b531df03b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.395481} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"870b2283b3224f6d86085ddfafb1e9ff","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ddc45dc5-02ab-4785-af85-faffcf9b455b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.400102} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"870b2283b3224f6d86085ddfafb1e9ff","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"1284ef11-a469-486c-a52d-82271b7d2a9d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.4109955} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9ed60489-66a9-4359-a8be-603271c23e3b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.4112668} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"870b2283b3224f6d86085ddfafb1e9ff","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.410973901Z"}]},"request_id":"22de2ca6-eda6-4d73-a2ec-46ee9888c03a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.4153204} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"870b2283b3224f6d86085ddfafb1e9ff","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"870b2283b3224f6d86085ddfafb1e9ff"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"870b2283b3224f6d86085ddfafb1e9ff"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"870b2283b3224f6d86085ddfafb1e9ff","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI","level":"info","message":"auth send jwt","requestID":"463b3176fb6035656f642d15d388d474"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"463b3176fb6035656f642d15d388d474","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"463b3176fb6035656f642d15d388d474"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.917148,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"463b3176fb6035656f642d15d388d474","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684559,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"463b3176fb6035656f642d15d388d474","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"db25698a-ab69-4a61-8156-78acbf735df6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.4454942} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"463b3176fb6035656f642d15d388d474","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a3d89e65-4be4-4162-b0b8-43ba01d806b9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.4541} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"463b3176fb6035656f642d15d388d474","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"3ba871e6-1e9b-44df-a41c-37aa65a9c98f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.4702878} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"82e49344-1364-4abd-a271-0aea7294a3b5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.4705496} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"463b3176fb6035656f642d15d388d474","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.470264165Z"}]},"request_id":"c6602736-4e2b-48de-9b86-e018c93d56bf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.474594} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"463b3176fb6035656f642d15d388d474","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"463b3176fb6035656f642d15d388d474"} gateway-1 | {"time_local":"26/Aug/2024:15:02:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"463b3176fb6035656f642d15d388d474"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"463b3176fb6035656f642d15d388d474","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI","level":"info","message":"auth send jwt","requestID":"68231c38f203cfef795667198ed003aa"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"68231c38f203cfef795667198ed003aa","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"68231c38f203cfef795667198ed003aa"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.29504,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:39Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68231c38f203cfef795667198ed003aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684559,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU1OX0.dzwUY74q3a3mt-zzjLTVVQ6yiL7pB6f7J8-RE0h_lhI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"68231c38f203cfef795667198ed003aa","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.410973901Z"}]},"request_id":"bc8864f8-87bd-41d7-83e1-dedb232436d6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.9871786} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"68231c38f203cfef795667198ed003aa","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"edd3f099-2846-4ecc-9fc4-e9536d60e76a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684559.9919772} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"68231c38f203cfef795667198ed003aa","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.410973901Z"}]},"request_id":"b65677ef-1b5d-45c5-a2b6-976d13e76b2f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684560.005094} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"68231c38f203cfef795667198ed003aa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"68231c38f203cfef795667198ed003aa"} gateway-1 | {"time_local":"26/Aug/2024:15:02:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a471aa67-d538-4b25-9947-e913353eaa72 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"68231c38f203cfef795667198ed003aa"} device-1 | {"level":"info","message":"PATCH /devices/a471aa67-d538-4b25-9947-e913353eaa72 200 33ms","method":"PATCH","requestID":"68231c38f203cfef795667198ed003aa","responseTime":33,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MH0.Lk5uFDmmMBGqK7FKjQAcqnF77suTsADFAAYZ14XuLJo","level":"info","message":"auth send jwt","requestID":"56b664524bb8fb4a4b41b832224292b8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"56b664524bb8fb4a4b41b832224292b8","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"56b664524bb8fb4a4b41b832224292b8"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:40Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.1857,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"56b664524bb8fb4a4b41b832224292b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684560,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MH0.Lk5uFDmmMBGqK7FKjQAcqnF77suTsADFAAYZ14XuLJo"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"56b664524bb8fb4a4b41b832224292b8","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"56b664524bb8fb4a4b41b832224292b8"} gateway-1 | {"time_local":"26/Aug/2024:15:02:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a471aa67-d538-4b25-9947-e913353eaa72/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"56b664524bb8fb4a4b41b832224292b8"} device-1 | {"level":"info","message":"POST /devices/a471aa67-d538-4b25-9947-e913353eaa72/websocket 200 23ms","method":"POST","requestID":"56b664524bb8fb4a4b41b832224292b8","responseTime":23,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d580e8bf2d2f3bc47cc0b4cf8f854fee","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d580e8bf2d2f3bc47cc0b4cf8f854fee","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/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":"d580e8bf2d2f3bc47cc0b4cf8f854fee"} device-1 | {"level":"info","message":"OPTIONS /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/websocket 200 1ms","method":"OPTIONS","requestID":"d580e8bf2d2f3bc47cc0b4cf8f854fee","responseTime":1,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU","level":"info","message":"auth send jwt","requestID":"2bb14dd748257b4353c44af885f03487"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2bb14dd748257b4353c44af885f03487","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2bb14dd748257b4353c44af885f03487"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.261425,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2bb14dd748257b4353c44af885f03487","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2bb14dd748257b4353c44af885f03487","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2bb14dd748257b4353c44af885f03487"} gateway-1 | {"time_local":"26/Aug/2024:15:02:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/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":"2bb14dd748257b4353c44af885f03487"} device-1 | {"level":"info","message":"POST /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/websocket 200 23ms","method":"POST","requestID":"2bb14dd748257b4353c44af885f03487","responseTime":23,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU","level":"info","message":"auth send jwt","requestID":"eb448b6037ac960abf7cd7098c673b39"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"eb448b6037ac960abf7cd7098c673b39","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eb448b6037ac960abf7cd7098c673b39"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.15422,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"eb448b6037ac960abf7cd7098c673b39","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eb448b6037ac960abf7cd7098c673b39","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.410973901Z"}]},"request_id":"1368381c-1288-4092-a77b-9c763e7756b1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.5400844} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"eb448b6037ac960abf7cd7098c673b39","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eb448b6037ac960abf7cd7098c673b39"} gateway-1 | {"time_local":"26/Aug/2024:15:02:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a471aa67-d538-4b25-9947-e913353eaa72? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eb448b6037ac960abf7cd7098c673b39"} device-1 | {"level":"info","message":"GET /devices/a471aa67-d538-4b25-9947-e913353eaa72? 200 18ms","method":"GET","requestID":"eb448b6037ac960abf7cd7098c673b39","responseTime":18,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU","level":"info","message":"auth send jwt","requestID":"1475c84570a9c680966632dfe91892a5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1475c84570a9c680966632dfe91892a5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1475c84570a9c680966632dfe91892a5"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.21985,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1475c84570a9c680966632dfe91892a5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1475c84570a9c680966632dfe91892a5","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.470264165Z"}]},"request_id":"0104d92b-ab06-4833-94f3-8ebbf48d3ca2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.5669243} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"1475c84570a9c680966632dfe91892a5","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1475c84570a9c680966632dfe91892a5"} gateway-1 | {"time_local":"26/Aug/2024:15:02:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1475c84570a9c680966632dfe91892a5"} device-1 | {"level":"info","message":"GET /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee? 200 19ms","method":"GET","requestID":"1475c84570a9c680966632dfe91892a5","responseTime":19,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU","level":"info","message":"auth send jwt","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"569056451b8b3b722bd8f1b999aaf6bc","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.330299,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"569056451b8b3b722bd8f1b999aaf6bc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"569056451b8b3b722bd8f1b999aaf6bc","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Attempting to run experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Attempting to book experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully booked experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3df51c90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3df543a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.718765,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3df51c90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3df51c90-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.820488,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3df543a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3df543a0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.410973901Z"}]},"request_id":"04807a4d-c8a5-4f11-95cc-d54556a08622","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.6347451} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3df51c90-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.470264165Z"}]},"request_id":"173d2cc7-6fca-416e-9374-a0e607af1451","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.6366413} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3df543a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3df51c90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/a471aa67-d538-4b25-9947-e913353eaa72? 200 19ms","method":"GET","requestID":"3df51c90-63bc-11ef-bd85-dbaeea89054b","responseTime":19,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3df543a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee? 200 19ms","method":"GET","requestID":"3df543a0-63bc-11ef-bd85-dbaeea89054b","responseTime":19,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Setting up experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully locked booking for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Attempting to update booking for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully updated booking for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully set up experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3dff7cd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3dffcaf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3dfff200-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.768357,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully running experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3dff7cd0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3dff7cd0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.740769,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3dffcaf0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3dffcaf0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.401429,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fd600141-ccb3-47ea-95a0-0c6cc87b0c49","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.702512} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3dfff200-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","rebac_allow":false,"scope_allow":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":"3dfff200-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3dfff200-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling 200 12ms","method":"POST","requestID":"3dfff200-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72/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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.470264165Z"}]},"request_id":"845a5c79-7b0c-4fd7-977f-5ebb27007af8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.707672} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3dffcaf0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.410973901Z"}]},"request_id":"e7a2d90e-59d0-47c4-ac75-f471dbeb7f5c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7091277} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3dff7cd0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e023bf0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3dffcaf0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a9276b34-6069-4a98-b63b-aef028e6294d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7160103} device-1 | {"level":"info","message":"GET /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee? 200 22ms","method":"GET","requestID":"3dffcaf0-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee?"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.100155,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3dff7cd0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3e023bf0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","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/a471aa67-d538-4b25-9947-e913353eaa72? 200 25ms","method":"GET","requestID":"3dff7cd0-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72?"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3e023bf0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faab31c5e-7bd4-4895-84ca-d5a5b1bd7875#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faab31c5e-7bd4-4895-84ca-d5a5b1bd7875","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"84c897d8-f4fd-4b5c-9d3e-283660e47e7b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.721487} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"281907d9-34ec-4682-987a-3726a4f8ebd0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.721695} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e03e9a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"569056451b8b3b722bd8f1b999aaf6bc","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e023bf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling 200 12ms","method":"POST","requestID":"3e023bf0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b779187c-d4ad-43fe-8ad7-d8fdc6ad39df","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7267675} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.647075,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3e03e9a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3e03e9a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e03e9a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling 200 9ms","method":"POST","requestID":"3e03e9a0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling"} gateway-1 | {"time_local":"26/Aug/2024:15:02:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"781","request_time":"0.156","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"level":"info","message":"POST /experiments? 201 148ms","method":"POST","requestID":"569056451b8b3b722bd8f1b999aaf6bc","responseTime":148,"status":201,"url":"/experiments?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU","level":"info","message":"auth send jwt","requestID":"761ab130d1c81087029630f22bb52cb8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e05e570-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"761ab130d1c81087029630f22bb52cb8","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"761ab130d1c81087029630f22bb52cb8"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"44233bf2-17c9-484d-a550-1a132a272be4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7402277} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.82961,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"761ab130d1c81087029630f22bb52cb8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"761ab130d1c81087029630f22bb52cb8","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.254695,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3e05e570-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3e05e570-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e05e570-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.410973901Z"}]},"request_id":"1e34432d-0848-47a7-afcc-798b4ccbc1da","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7448928} device-1 | {"level":"info","message":"POST /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling 200 11ms","method":"POST","requestID":"3e05e570-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"761ab130d1c81087029630f22bb52cb8","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Building connection plan","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"d7f2569b-2f6b-4063-868e-65ba2cb3551a"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"ef72c2b4-d80f-4dba-93ce-c92d1d4ebed7"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"32428f1a-b120-4581-a018-43e77441a3fa"}]},"level":"info","message":"Built pairwise service configurations","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"761ab130d1c81087029630f22bb52cb8"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a471aa67-d538-4b25-9947-e913353eaa72? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"761ab130d1c81087029630f22bb52cb8"} device-1 | {"level":"info","message":"GET /devices/a471aa67-d538-4b25-9947-e913353eaa72? 200 16ms","method":"GET","requestID":"761ab130d1c81087029630f22bb52cb8","responseTime":16,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72?"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.917306,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU","level":"info","message":"auth send jwt","requestID":"f12502540539e262f8dafe01c3fc4a3e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f12502540539e262f8dafe01c3fc4a3e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f12502540539e262f8dafe01c3fc4a3e"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"63875049-3eac-4d0a-806d-aae730d38932","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7632008} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f50b86d-4486-4bf0-8bca-54b197ac3099","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7633786} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.381885,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f12502540539e262f8dafe01c3fc4a3e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684561,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2MX0.z6IfBJj02Mty8NOr719_kuCzBzEMOjS7hOetcFWegsU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f12502540539e262f8dafe01c3fc4a3e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:39.470264165Z"}]},"request_id":"2aed083b-61cd-435b-bfbc-6dd85ebe03e8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.7701807} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f12502540539e262f8dafe01c3fc4a3e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546'","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546'","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b"} 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":"3e080850-63bc-11ef-bd85-dbaeea89054b","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":"getDevicesByDeviceId succeeded","requestID":"f12502540539e262f8dafe01c3fc4a3e"} gateway-1 | {"time_local":"26/Aug/2024:15:02:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f12502540539e262f8dafe01c3fc4a3e"} device-1 | {"level":"info","message":"GET /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee? 200 22ms","method":"GET","requestID":"f12502540539e262f8dafe01c3fc4a3e","responseTime":22,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"3e080850-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546","device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"569056451b8b3b722bd8f1b999aaf6bc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e110900-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3474df9b-0c25-469c-9651-17deb7975b0b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.8131137} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.271668,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3e110900-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3e110900-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e110900-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling 200 9ms","method":"POST","requestID":"3e110900-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3e12b6b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b8e04dca-fac0-4cb1-9488-fe7465e317f3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684561.8244746} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.60632,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3e12b6b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3e12b6b0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3e12b6b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling 200 9ms","method":"POST","requestID":"3e12b6b0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling"} device-1 | {"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"d197953b-a013-42f0-92b0-dc63d4414546","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 7066535538293293396 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:1/QT\r\na=ice-pwd:q4Jnj57UE9vmQ62IX3zZCJaU\r\na=ice-options:trickle\r\na=fingerprint:sha-256 12:00:41:AC:47:CE:32:46:7B:96:3E:84:6F:50:A1:4E:0E:7B:F6:6B:95:4D:F9:B2:F9:80:32:E1:EA:62:69:DD\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3917756160 1 udp 2113937151 2743342c-564f-4a75-b416-6ba0f374cee1.local 50430 typ host generation 0 ufrag 1/QT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1839816063 1 udp 1677729535 141.24.211.56 50430 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 1/QT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","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/d197953b-a013-42f0-92b0-dc63d4414546' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d197953b-a013-42f0-92b0-dc63d4414546","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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":"0424e928ad56208ade8f187e689a26d0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0424e928ad56208ade8f187e689a26d0","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/eec4296e-cf05-4846-81c2-a9c9d261dbee'"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546"}}},"level":"info","message":"received a callback","requestID":"0424e928ad56208ade8f187e689a26d0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"0424e928ad56208ade8f187e689a26d0","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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":"0424e928ad56208ade8f187e689a26d0"} device-1 | {"data":{"peerconnection":"d197953b-a013-42f0-92b0-dc63d4414546","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"d197953b-a013-42f0-92b0-dc63d4414546","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","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/d197953b-a013-42f0-92b0-dc63d4414546' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d197953b-a013-42f0-92b0-dc63d4414546","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8315580a02aba55b15afb37dfd987c39","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"8315580a02aba55b15afb37dfd987c39","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546"}}},"level":"info","message":"received a callback","requestID":"8315580a02aba55b15afb37dfd987c39"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"3f5bd880-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:43Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd197953b-a013-42f0-92b0-dc63d4414546","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7eff0f00-7bbf-4cc1-bc7e-2722857293c2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684563.9810734} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.823512,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3f5bd880-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546","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":"3f5bd880-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"3f5bd880-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/d197953b-a013-42f0-92b0-dc63d4414546 200 10ms","method":"GET","requestID":"3f5bd880-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 39ms","method":"POST","requestID":"8315580a02aba55b15afb37dfd987c39","responseTime":40,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.044","http_referrer":"","http_user_agent":"node-fetch","requestID":"8315580a02aba55b15afb37dfd987c39"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f609370-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"412e7c41-9214-4c2f-ba8d-0a72e707b7df","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.0114403} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.428998,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3f609370-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f609370-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f609370-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling 200 9ms","method":"POST","requestID":"3f609370-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f626830-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b612957d-95e1-4b00-9570-c3c31a5f85a6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.0238628} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.6683,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3f626830-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","rebac_allow":false,"scope_allow":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":"3f626830-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f626830-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling 200 10ms","method":"POST","requestID":"3f626830-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"8255801fa0c05eb480f268eb294d98f7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8255801fa0c05eb480f268eb294d98f7","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","requestID":"8255801fa0c05eb480f268eb294d98f7"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.90353,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8255801fa0c05eb480f268eb294d98f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8255801fa0c05eb480f268eb294d98f7","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","requestID":"8255801fa0c05eb480f268eb294d98f7"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875 HTTP/1.1","status": "200","body_bytes_sent":"854","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8255801fa0c05eb480f268eb294d98f7"} experiment-1 | {"level":"info","message":"GET /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875 200 14ms","method":"GET","requestID":"8255801fa0c05eb480f268eb294d98f7","responseTime":14,"status":200,"url":"/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"e9c74df0c64897cdf9c517396ab263f1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e9c74df0c64897cdf9c517396ab263f1","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","requestID":"e9c74df0c64897cdf9c517396ab263f1"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.177652,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e9c74df0c64897cdf9c517396ab263f1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e9c74df0c64897cdf9c517396ab263f1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Attempting to finish experiment","requestID":"e9c74df0c64897cdf9c517396ab263f1"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"3f8113c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.297284,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3f8113c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f8113c0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546","device":"eec4296e-cf05-4846-81c2-a9c9d261dbee","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"a471aa67-d538-4b25-9947-e913353eaa72","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/d197953b-a013-42f0-92b0-dc63d4414546' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d197953b-a013-42f0-92b0-dc63d4414546","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd197953b-a013-42f0-92b0-dc63d4414546': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd197953b-a013-42f0-92b0-dc63d4414546","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"8c4aeaf6-468c-489f-9fae-004422e72b42","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.2451508} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1efe4ca0-64a7-477a-83da-30963066158b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.2455246} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c24e589d98b3b95f5eb86f36d8a915cb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c24e589d98b3b95f5eb86f36d8a915cb","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"3f8113c0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bfce2767f9ebfc95db7892b7328cc3d5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bfce2767f9ebfc95db7892b7328cc3d5","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546"}}},"level":"info","message":"received a callback","requestID":"c24e589d98b3b95f5eb86f36d8a915cb"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546"}}},"level":"info","message":"received a callback","requestID":"bfce2767f9ebfc95db7892b7328cc3d5"} device-1 | {"data":{"peerconnection":"d197953b-a013-42f0-92b0-dc63d4414546","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"3f8113c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/d197953b-a013-42f0-92b0-dc63d4414546 204 49ms","method":"DELETE","requestID":"3f8113c0-63bc-11ef-bd85-dbaeea89054b","responseTime":49,"status":204,"url":"/peerconnections/d197953b-a013-42f0-92b0-dc63d4414546"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"},"level":"info","message":"Successfully finished experiment","requestID":"e9c74df0c64897cdf9c517396ab263f1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f8b4cf0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Feec4296e-cf05-4846-81c2-a9c9d261dbee","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1d58689-3970-41d1-a89c-90fdc729c218","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.2934053} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.940659,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3f8b4cf0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee","object_type":"device","rebac_allow":false,"scope_allow":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":"3f8b4cf0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f8b4cf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling 200 12ms","method":"POST","requestID":"3f8b4cf0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/eec4296e-cf05-4846-81c2-a9c9d261dbee/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faab31c5e-7bd4-4895-84ca-d5a5b1bd7875': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faab31c5e-7bd4-4895-84ca-d5a5b1bd7875","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"3260be91-6d1a-435d-9269-99f153b113e5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.2996993} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7d875949-6a5e-4053-b81e-a789d460e1dd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.3000517} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"e9c74df0c64897cdf9c517396ab263f1","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"3f8d6fd0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa471aa67-d538-4b25-9947-e913353eaa72","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef003f9c-b03f-4ffa-b857-d61376ca3008","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.307526} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.383182,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3f8d6fd0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a471aa67-d538-4b25-9947-e913353eaa72","object_type":"device","rebac_allow":false,"scope_allow":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":"3f8d6fd0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"3f8d6fd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling 200 11ms","method":"POST","requestID":"3f8d6fd0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/a471aa67-d538-4b25-9947-e913353eaa72/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875","requestID":"e9c74df0c64897cdf9c517396ab263f1"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.165","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e9c74df0c64897cdf9c517396ab263f1"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2582","request_time":"4.319","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4127231eb9ae8dd517a3a7e141e8121b"} experiment-1 | {"level":"info","message":"DELETE /experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875 204 160ms","method":"DELETE","requestID":"e9c74df0c64897cdf9c517396ab263f1","responseTime":160,"status":204,"url":"/experiments/aab31c5e-7bd4-4895-84ca-d5a5b1bd7875"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 113ms","method":"POST","requestID":"c24e589d98b3b95f5eb86f36d8a915cb","responseTime":113,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.118","http_referrer":"","http_user_agent":"node-fetch","requestID":"c24e589d98b3b95f5eb86f36d8a915cb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"3876036ac290bc31b70a1b257dc2ceec"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"bfce2767f9ebfc95db7892b7328cc3d5","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.119","http_referrer":"","http_user_agent":"node-fetch","requestID":"bfce2767f9ebfc95db7892b7328cc3d5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3876036ac290bc31b70a1b257dc2ceec","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3876036ac290bc31b70a1b257dc2ceec"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2490","request_time":"2.864","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ebd052a098c46f985f7d4757a130c94e"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.829271,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3876036ac290bc31b70a1b257dc2ceec","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3876036ac290bc31b70a1b257dc2ceec","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/a471aa67-d538-4b25-9947-e913353eaa72' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"81b8c0b3-0141-47cb-8a2c-3ebffb12ddc4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.3882983} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3876036ac290bc31b70a1b257dc2ceec","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/eec4296e-cf05-4846-81c2-a9c9d261dbee' 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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"61f9076a-7e21-41c7-8702-1a3899416bdc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.394303} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3876036ac290bc31b70a1b257dc2ceec","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"cdafceae-01df-4d63-b90c-9521ee2c629e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.40303} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"edb652b0-8c9c-40fd-9137-477144d5062f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.4031816} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"3876036ac290bc31b70a1b257dc2ceec","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.403011989Z"}]},"request_id":"c8c4d87b-a96e-4e5d-827b-bd5a57dc9e5e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.4073868} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3876036ac290bc31b70a1b257dc2ceec","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3876036ac290bc31b70a1b257dc2ceec"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3876036ac290bc31b70a1b257dc2ceec"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"3876036ac290bc31b70a1b257dc2ceec","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"d13b5f03db847485a507161fbad259df"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d13b5f03db847485a507161fbad259df","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d13b5f03db847485a507161fbad259df"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.723977,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d13b5f03db847485a507161fbad259df","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d13b5f03db847485a507161fbad259df","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"410cc716-b516-4beb-a141-e9574901cf4c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.4377446} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d13b5f03db847485a507161fbad259df","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"58162641-a1a6-4c33-8ede-d85f0e8fb4ec","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.4425833} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d13b5f03db847485a507161fbad259df","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"1da66251-9f31-41a9-800e-068ac66847e1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.4531717} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f0ca764-7ab8-42af-a80c-b340f3f92675","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.4533315} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"d13b5f03db847485a507161fbad259df","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.453153163Z"}]},"request_id":"cb47a78a-8f89-4251-97a7-20b290bd1321","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.4576097} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d13b5f03db847485a507161fbad259df","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d13b5f03db847485a507161fbad259df"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d13b5f03db847485a507161fbad259df"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"d13b5f03db847485a507161fbad259df","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"b02ce087dc216000862ad0c7d5be93fd"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"b02ce087dc216000862ad0c7d5be93fd","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b02ce087dc216000862ad0c7d5be93fd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"0eaaa85490fdccc0185a0925f69bfcd9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0eaaa85490fdccc0185a0925f69bfcd9","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0eaaa85490fdccc0185a0925f69bfcd9"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.686145,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b02ce087dc216000862ad0c7d5be93fd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b02ce087dc216000862ad0c7d5be93fd","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.857257,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0eaaa85490fdccc0185a0925f69bfcd9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0eaaa85490fdccc0185a0925f69bfcd9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.403011989Z"}]},"request_id":"d3dc03a6-20d9-4fe3-b278-eb6338dbb0e6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.952391} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b02ce087dc216000862ad0c7d5be93fd","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.453153163Z"}]},"request_id":"7d381c39-eec3-4742-8b13-886a418cc838","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.9535022} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0eaaa85490fdccc0185a0925f69bfcd9","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"89b5b4b5-06cb-4a6f-82a6-756b9476fa64","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.9582455} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"b02ce087dc216000862ad0c7d5be93fd","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a70dd6df-6b10-4c93-8093-6ef01c3c26cd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.9600277} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0eaaa85490fdccc0185a0925f69bfcd9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.453153163Z"}]},"request_id":"aa2a3af7-d030-4d8b-9b29-f831336a8668","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.9638033} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0eaaa85490fdccc0185a0925f69bfcd9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0eaaa85490fdccc0185a0925f69bfcd9"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.033","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0eaaa85490fdccc0185a0925f69bfcd9"} device-1 | {"level":"info","message":"PATCH /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd 200 25ms","method":"PATCH","requestID":"0eaaa85490fdccc0185a0925f69bfcd9","responseTime":25,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"a08396180f7accc59fd1e5d6c73b51a3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a08396180f7accc59fd1e5d6c73b51a3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a08396180f7accc59fd1e5d6c73b51a3"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.403011989Z"}]},"request_id":"536c86d1-a552-4df8-b47e-1db60462ffc9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684564.9742978} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b02ce087dc216000862ad0c7d5be93fd","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.203672,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b02ce087dc216000862ad0c7d5be93fd"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a08396180f7accc59fd1e5d6c73b51a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a08396180f7accc59fd1e5d6c73b51a3","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.046","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"b02ce087dc216000862ad0c7d5be93fd"} device-1 | {"level":"info","message":"PATCH /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a 200 39ms","method":"PATCH","requestID":"b02ce087dc216000862ad0c7d5be93fd","responseTime":39,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM","level":"info","message":"auth send jwt","requestID":"7827c82741df4bf29678e1947a7afadd"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7827c82741df4bf29678e1947a7afadd","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7827c82741df4bf29678e1947a7afadd"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.667721,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"7827c82741df4bf29678e1947a7afadd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684564,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NH0.8melp4yGUlj3G-F1QVRJjcj90JpArfI2SXQ_yZNGyvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7827c82741df4bf29678e1947a7afadd","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a08396180f7accc59fd1e5d6c73b51a3"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a08396180f7accc59fd1e5d6c73b51a3"} device-1 | {"level":"info","message":"POST /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/websocket 200 18ms","method":"POST","requestID":"a08396180f7accc59fd1e5d6c73b51a3","responseTime":18,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7827c82741df4bf29678e1947a7afadd"} gateway-1 | {"time_local":"26/Aug/2024:15:02:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.020","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7827c82741df4bf29678e1947a7afadd"} device-1 | {"level":"info","message":"POST /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/websocket 200 16ms","method":"POST","requestID":"7827c82741df4bf29678e1947a7afadd","responseTime":16,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0","level":"info","message":"auth send jwt","requestID":"2d745d9f8d92aa3879259ba5279a5928"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2d745d9f8d92aa3879259ba5279a5928","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2d745d9f8d92aa3879259ba5279a5928"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.09145,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2d745d9f8d92aa3879259ba5279a5928","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2d745d9f8d92aa3879259ba5279a5928","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.403011989Z"}]},"request_id":"fe61a4da-74db-417a-9dbc-9f97f3cc84e4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.0371938} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2d745d9f8d92aa3879259ba5279a5928","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2d745d9f8d92aa3879259ba5279a5928"} gateway-1 | {"time_local":"26/Aug/2024:15:02:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2d745d9f8d92aa3879259ba5279a5928"} device-1 | {"level":"info","message":"GET /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a? 200 13ms","method":"GET","requestID":"2d745d9f8d92aa3879259ba5279a5928","responseTime":13,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0","level":"info","message":"auth send jwt","requestID":"1e00d71c9ed3443efb5200a007a5479c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1e00d71c9ed3443efb5200a007a5479c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1e00d71c9ed3443efb5200a007a5479c"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.227672,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1e00d71c9ed3443efb5200a007a5479c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1e00d71c9ed3443efb5200a007a5479c","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.453153163Z"}]},"request_id":"22659df1-fa9b-4d08-b6c3-9e6c7c2892bc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.0624545} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1e00d71c9ed3443efb5200a007a5479c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1e00d71c9ed3443efb5200a007a5479c"} gateway-1 | {"time_local":"26/Aug/2024:15:02:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1e00d71c9ed3443efb5200a007a5479c"} device-1 | {"level":"info","message":"GET /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd? 200 17ms","method":"GET","requestID":"1e00d71c9ed3443efb5200a007a5479c","responseTime":17,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0","level":"info","message":"auth send jwt","requestID":"abbe54e6abca73c03572fa6376097c22"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"abbe54e6abca73c03572fa6376097c22","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"abbe54e6abca73c03572fa6376097c22"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.00834,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"abbe54e6abca73c03572fa6376097c22","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"abbe54e6abca73c03572fa6376097c22","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Attempting to run experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Attempting to book experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully booked experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"40092f80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"40095690-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.915643,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"40092f80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"40092f80-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.685867,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"40095690-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"40095690-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.403011989Z"}]},"request_id":"4da6d244-026c-4098-97ed-c501e26d1620","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.1211634} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"40092f80-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.453153163Z"}]},"request_id":"5c3ad384-4dc4-484f-af03-340f22c28342","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.1221318} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"40095690-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"40092f80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a? 200 17ms","method":"GET","requestID":"40092f80-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"40095690-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd? 200 18ms","method":"GET","requestID":"40095690-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Setting up experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully locked booking for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Attempting to update booking for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully updated booking for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully set up experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"40153d70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4015b2a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"401627d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.38722,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully running experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"40153d70-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"40153d70-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.047897,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4015b2a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"4015b2a0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.773664,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"84fa4912-d815-46e3-87e8-50d8a86da521","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2075698} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"401627d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","rebac_allow":false,"scope_allow":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":"401627d0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.453153163Z"}]},"request_id":"89cbb0e7-523b-45e3-99bc-cb0aa83846f7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.213112} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"4015b2a0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.403011989Z"}]},"request_id":"16bb5494-773e-424e-bd33-283ceabd825e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2185974} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"40153d70-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"401627d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling 200 26ms","method":"POST","requestID":"401627d0-63bc-11ef-bd85-dbaeea89054b","responseTime":26,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4015b2a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd? 200 32ms","method":"GET","requestID":"4015b2a0-63bc-11ef-bd85-dbaeea89054b","responseTime":32,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"401b09d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"40153d70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a? 200 41ms","method":"GET","requestID":"40153d70-63bc-11ef-bd85-dbaeea89054b","responseTime":41,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F44fc5dd4-dd85-4eb4-952b-172c0b09d578#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F44fc5dd4-dd85-4eb4-952b-172c0b09d578","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"ef3dbdbb-1d7e-43c9-aa90-784db8023136","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2319973} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c161c62f-16c1-4b15-b773-e0e29ddd936e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2326155} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"401c1b40-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 32ms","method":"POST","requestID":"abbe54e6abca73c03572fa6376097c22","responseTime":32,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6d5f3240-36dd-4719-86a0-c91e1cf9c555","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2362452} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.965061,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"401b09d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","rebac_allow":false,"scope_allow":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":"401b09d0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"401b09d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"12ddf0b1-8950-4e83-a666-f34fdb6fc582","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2442956} device-1 | {"level":"info","message":"POST /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling 200 16ms","method":"POST","requestID":"401b09d0-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.131039,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"401c1b40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","rebac_allow":false,"scope_allow":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":"401c1b40-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"abbe54e6abca73c03572fa6376097c22"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"401c1b40-63bc-11ef-bd85-dbaeea89054b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"785","request_time":"0.185","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"abbe54e6abca73c03572fa6376097c22"} device-1 | {"level":"info","message":"POST /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling 200 16ms","method":"POST","requestID":"401c1b40-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling"} experiment-1 | {"level":"info","message":"POST /experiments? 201 180ms","method":"POST","requestID":"abbe54e6abca73c03572fa6376097c22","responseTime":180,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"401f0170-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0","level":"info","message":"auth send jwt","requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0aa7d509-e5e1-4218-828d-ad738246731a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2619953} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.225623,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"401f0170-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","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":"88f4be8a6eeabb6460ffdcfd8894b7a8"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"401f0170-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.948282,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"401f0170-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling 200 15ms","method":"POST","requestID":"401f0170-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Building connection plan","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"80eb235b-7c18-4012-a5b3-f865b9e014c3"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"cb5e6a79-e86a-41d3-a149-89338dbd4bfb"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"c92e3c5f-4f9f-4339-b786-83382d49fc70"}]},"level":"info","message":"Built pairwise service configurations","requestID":"abbe54e6abca73c03572fa6376097c22"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"abbe54e6abca73c03572fa6376097c22"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.403011989Z"}]},"request_id":"f938b818-89e8-4e07-8235-cd30a6caa871","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2749236} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.898644,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:02:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8"} device-1 | {"level":"info","message":"GET /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a? 200 16ms","method":"GET","requestID":"88f4be8a6eeabb6460ffdcfd8894b7a8","responseTime":16,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0","level":"info","message":"auth send jwt","requestID":"e1304bc1fa6ec917048c2a4216df58aa"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e1304bc1fa6ec917048c2a4216df58aa","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e1304bc1fa6ec917048c2a4216df58aa"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.620576,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e1304bc1fa6ec917048c2a4216df58aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684565,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2NX0.OoyXXaBo1dVYfJde8tsNuj7F1w8NdMHKnZvSPwINuT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e1304bc1fa6ec917048c2a4216df58aa","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"fcf081ff-f826-478f-ae67-b100da4a94fb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2910326} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"58d1bb3b-1e06-4b09-9993-09b71cac658b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.291288} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:44.453153163Z"}]},"request_id":"95eedef2-dda6-4aab-9e76-2fe7acce590d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.2960944} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e1304bc1fa6ec917048c2a4216df58aa","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63'","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63'","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b"} 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":"40220eb0-63bc-11ef-bd85-dbaeea89054b","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":"getDevicesByDeviceId succeeded","requestID":"e1304bc1fa6ec917048c2a4216df58aa"} gateway-1 | {"time_local":"26/Aug/2024:15:02:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e1304bc1fa6ec917048c2a4216df58aa"} device-1 | {"level":"info","message":"GET /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd? 200 21ms","method":"GET","requestID":"e1304bc1fa6ec917048c2a4216df58aa","responseTime":21,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"40220eb0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"abbe54e6abca73c03572fa6376097c22"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"402ae850-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5f7d7c79-e475-4b8b-9df9-4ea988b6575a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.3376038} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.12632,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"402ae850-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","rebac_allow":false,"scope_allow":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":"402ae850-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"402ae850-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling 200 9ms","method":"POST","requestID":"402ae850-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"402c9600-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d3455f15-c4cc-4f5e-af71-9883a0066037","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684565.34851} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.810714,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"402c9600-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"402c9600-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"402c9600-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling 200 9ms","method":"POST","requestID":"402c9600-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling"} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"597890e0a4ed7a1e19806555ffa6a7bb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"597890e0a4ed7a1e19806555ffa6a7bb","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63"}}},"level":"info","message":"received a callback","requestID":"597890e0a4ed7a1e19806555ffa6a7bb"} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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 8ms","method":"POST","requestID":"597890e0a4ed7a1e19806555ffa6a7bb","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"597890e0a4ed7a1e19806555ffa6a7bb"} device-1 | {"data":{"peerconnection":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","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/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e76b4f3721ed9366b4d9b9015163f16a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e76b4f3721ed9366b4d9b9015163f16a","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63"}}},"level":"info","message":"received a callback","requestID":"e76b4f3721ed9366b4d9b9015163f16a"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"4169d0f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0be3e297-5b95-4878-aed4-2d5bb4e2af06","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.42923} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.054432,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4169d0f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","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":"4169d0f0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"4169d0f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63 200 11ms","method":"GET","requestID":"4169d0f0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 38ms","method":"POST","requestID":"e76b4f3721ed9366b4d9b9015163f16a","responseTime":38,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch","requestID":"e76b4f3721ed9366b4d9b9015163f16a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"416e8be0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa86cc0d-4136-4e89-bf11-3501fa2736ba","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.459003} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.447566,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"416e8be0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","rebac_allow":false,"scope_allow":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":"416e8be0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"416e8be0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling 200 9ms","method":"POST","requestID":"416e8be0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"41703990-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3dd4f44f-3d4f-416d-813e-59de79bb85d1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.4692154} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.153183,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"41703990-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","rebac_allow":false,"scope_allow":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":"41703990-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"41703990-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling 200 8ms","method":"POST","requestID":"41703990-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo","level":"info","message":"auth send jwt","requestID":"c4fee1c648ab364937f186c4828d503e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c4fee1c648ab364937f186c4828d503e","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","requestID":"c4fee1c648ab364937f186c4828d503e"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.319468,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c4fee1c648ab364937f186c4828d503e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684567,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c4fee1c648ab364937f186c4828d503e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","requestID":"c4fee1c648ab364937f186c4828d503e"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578 HTTP/1.1","status": "200","body_bytes_sent":"858","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c4fee1c648ab364937f186c4828d503e"} experiment-1 | {"level":"info","message":"GET /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578 200 18ms","method":"GET","requestID":"c4fee1c648ab364937f186c4828d503e","responseTime":18,"status":200,"url":"/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo","level":"info","message":"auth send jwt","requestID":"3ed73e4ff89f909b0cb59366e724c735"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3ed73e4ff89f909b0cb59366e724c735","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","requestID":"3ed73e4ff89f909b0cb59366e724c735"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.378255,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3ed73e4ff89f909b0cb59366e724c735","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684567,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3ed73e4ff89f909b0cb59366e724c735","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Attempting to finish experiment","requestID":"3ed73e4ff89f909b0cb59366e724c735"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"41901da0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.34863,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"41901da0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684567,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"41901da0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"ec3322cc-4c43-420a-b634-36a315dbdb4a","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"1c59dea1-0600-44d7-9a2c-5a6f563143fd","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"820db5d74ac193f8ab26ff72f2299a0f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"ec182789-0330-4147-bee8-dd539beb1ee5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.6978464} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"820db5d74ac193f8ab26ff72f2299a0f","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f7a77d9f-e27d-4517-ab52-d0d22d7c0c93","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.6980853} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63"}}},"level":"info","message":"received a callback","requestID":"820db5d74ac193f8ab26ff72f2299a0f"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ecbae7ceeeb59c59e9f36d637421bb8e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ecbae7ceeeb59c59e9f36d637421bb8e","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"41901da0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63"}}},"level":"info","message":"received a callback","requestID":"ecbae7ceeeb59c59e9f36d637421bb8e"} device-1 | {"data":{"peerconnection":"d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"41901da0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63 204 41ms","method":"DELETE","requestID":"41901da0-63bc-11ef-bd85-dbaeea89054b","responseTime":41,"status":204,"url":"/peerconnections/d561d5a2-0c1c-4af6-bad6-9bf6ca6bdf63"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"},"level":"info","message":"Successfully finished experiment","requestID":"3ed73e4ff89f909b0cb59366e724c735"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"419a2fc0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec3322cc-4c43-420a-b634-36a315dbdb4a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b3029645-8bb2-4ae5-ae91-b52da3cb944e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.7479358} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.83093,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"419a2fc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a","object_type":"device","rebac_allow":false,"scope_allow":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":"419a2fc0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F44fc5dd4-dd85-4eb4-952b-172c0b09d578': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F44fc5dd4-dd85-4eb4-952b-172c0b09d578","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"3a11fe72-584d-4716-b268-8c71e4db9067","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.754645} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"94c89cd1-2a3a-4ff0-bf67-f3c00851ab6d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.7551026} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"419a2fc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling 200 16ms","method":"POST","requestID":"419a2fc0-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/ec3322cc-4c43-420a-b634-36a315dbdb4a/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"3ed73e4ff89f909b0cb59366e724c735","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"419d15f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1c59dea1-0600-44d7-9a2c-5a6f563143fd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"922fbf79-2d20-42e3-b276-a597d34d247c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.7658012} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.980964,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"419d15f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd","object_type":"device","rebac_allow":false,"scope_allow":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":"419d15f0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"419d15f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling 200 14ms","method":"POST","requestID":"419d15f0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/1c59dea1-0600-44d7-9a2c-5a6f563143fd/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578","requestID":"3ed73e4ff89f909b0cb59366e724c735"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.179","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3ed73e4ff89f909b0cb59366e724c735"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2490","request_time":"2.831","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"10e681d450ec4e1d22f2e1e5259f7fd6"} experiment-1 | {"level":"info","message":"DELETE /experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578 204 174ms","method":"DELETE","requestID":"3ed73e4ff89f909b0cb59366e724c735","responseTime":174,"status":204,"url":"/experiments/44fc5dd4-dd85-4eb4-952b-172c0b09d578"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2490","request_time":"2.840","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f35f5b25bdae325b3770b2dd9d57309c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"820db5d74ac193f8ab26ff72f2299a0f","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"820db5d74ac193f8ab26ff72f2299a0f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"ecbae7ceeeb59c59e9f36d637421bb8e","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"ecbae7ceeeb59c59e9f36d637421bb8e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo","level":"info","message":"auth send jwt","requestID":"e72d4c320347b6dde6188a578809fa86"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e72d4c320347b6dde6188a578809fa86","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/1c59dea1-0600-44d7-9a2c-5a6f563143fd' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"e72d4c320347b6dde6188a578809fa86"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.336199,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e72d4c320347b6dde6188a578809fa86","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684567,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e72d4c320347b6dde6188a578809fa86","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/ec3322cc-4c43-420a-b634-36a315dbdb4a' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ee249c0c-4605-4077-a99d-0fe9701b4748","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.8638136} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e72d4c320347b6dde6188a578809fa86","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"78b63cc6-0d28-4d7f-b9ae-7a5eca1a9e5c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.8701746} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e72d4c320347b6dde6188a578809fa86","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"72c6b867-5c18-4a15-9cdf-9551128516da","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.8802724} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76e8d4e9-c552-4018-9c69-5ae991eb4461","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.8804154} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e72d4c320347b6dde6188a578809fa86","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.880246043Z"}]},"request_id":"e280349c-f628-4b3e-a064-1262ae6c08c7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.885415} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e72d4c320347b6dde6188a578809fa86","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e72d4c320347b6dde6188a578809fa86"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e72d4c320347b6dde6188a578809fa86"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"e72d4c320347b6dde6188a578809fa86","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo","level":"info","message":"auth send jwt","requestID":"50838b6e2889953bb48a58ab14e23383"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"50838b6e2889953bb48a58ab14e23383","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"50838b6e2889953bb48a58ab14e23383"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.902987,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"50838b6e2889953bb48a58ab14e23383","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684567,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2N30.mZpO6twDrTXX9IIgfSgTnSU-o5gcfTdAl4wwjyd1UMo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"50838b6e2889953bb48a58ab14e23383","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"271a9532-37c6-4c21-859d-e4af6c04e112","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.9113207} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"50838b6e2889953bb48a58ab14e23383","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"004f3234-9fea-4e9a-a035-4558b5b1e6a2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.9165888} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"50838b6e2889953bb48a58ab14e23383","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a186e6c9-63f2-4148-bc2d-862546fba7fd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.9331899} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ddcfc829-fbb9-4b22-81c3-49d7362c549b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.9334838} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"50838b6e2889953bb48a58ab14e23383","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.933170747Z"}]},"request_id":"ec1696bf-14a7-486a-a7a5-14fb83c88bb1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684567.9381785} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"50838b6e2889953bb48a58ab14e23383","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"50838b6e2889953bb48a58ab14e23383"} gateway-1 | {"time_local":"26/Aug/2024:15:02:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"50838b6e2889953bb48a58ab14e23383"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"50838b6e2889953bb48a58ab14e23383","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9dd19d8b9f01d81a259197bccb62b2c8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9dd19d8b9f01d81a259197bccb62b2c8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/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":"9dd19d8b9f01d81a259197bccb62b2c8"} device-1 | {"level":"info","message":"OPTIONS /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/websocket 200 1ms","method":"OPTIONS","requestID":"9dd19d8b9f01d81a259197bccb62b2c8","responseTime":1,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d53afa589e26576033e6d7ce6a1a6502","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"d53afa589e26576033e6d7ce6a1a6502","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/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":"d53afa589e26576033e6d7ce6a1a6502"} device-1 | {"level":"info","message":"OPTIONS /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/websocket 200 1ms","method":"OPTIONS","requestID":"d53afa589e26576033e6d7ce6a1a6502","responseTime":1,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2OX0.VZE_77hrJ8gbXvktEPEDnaA32w_cyqSBiVgaKYgBnZ0","level":"info","message":"auth send jwt","requestID":"eb1fb2c44186839961237a67ed5b095a"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"eb1fb2c44186839961237a67ed5b095a","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"eb1fb2c44186839961237a67ed5b095a"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:49Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.830144,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:49Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2OX0.VZE_77hrJ8gbXvktEPEDnaA32w_cyqSBiVgaKYgBnZ0","level":"info","message":"auth send jwt","requestID":"381f19a3db64616613354179e4b354cc"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"eb1fb2c44186839961237a67ed5b095a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684569,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2OX0.VZE_77hrJ8gbXvktEPEDnaA32w_cyqSBiVgaKYgBnZ0"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"381f19a3db64616613354179e4b354cc","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"eb1fb2c44186839961237a67ed5b095a","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"381f19a3db64616613354179e4b354cc"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:49Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.383511,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"381f19a3db64616613354179e4b354cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684569,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2OX0.VZE_77hrJ8gbXvktEPEDnaA32w_cyqSBiVgaKYgBnZ0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"381f19a3db64616613354179e4b354cc","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"eb1fb2c44186839961237a67ed5b095a"} gateway-1 | {"time_local":"26/Aug/2024:15:02:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.035","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"eb1fb2c44186839961237a67ed5b095a"} device-1 | {"level":"info","message":"POST /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/websocket 200 26ms","method":"POST","requestID":"eb1fb2c44186839961237a67ed5b095a","responseTime":26,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"381f19a3db64616613354179e4b354cc"} gateway-1 | {"time_local":"26/Aug/2024:15:02:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/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":"381f19a3db64616613354179e4b354cc"} device-1 | {"level":"info","message":"POST /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/websocket 200 30ms","method":"POST","requestID":"381f19a3db64616613354179e4b354cc","responseTime":30,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2OX0.VZE_77hrJ8gbXvktEPEDnaA32w_cyqSBiVgaKYgBnZ0","level":"info","message":"auth send jwt","requestID":"6496027d7991bd9b7ec447f76ae100ae"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6496027d7991bd9b7ec447f76ae100ae","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6496027d7991bd9b7ec447f76ae100ae"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:49Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.68183,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6496027d7991bd9b7ec447f76ae100ae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684569,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU2OX0.VZE_77hrJ8gbXvktEPEDnaA32w_cyqSBiVgaKYgBnZ0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6496027d7991bd9b7ec447f76ae100ae","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.880246043Z"}]},"request_id":"fe4cf37d-37ea-4d7a-a1dc-b6965c79325c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684569.9963632} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6496027d7991bd9b7ec447f76ae100ae","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6496027d7991bd9b7ec447f76ae100ae"} gateway-1 | {"time_local":"26/Aug/2024:15:02:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6496027d7991bd9b7ec447f76ae100ae"} device-1 | {"level":"info","message":"GET /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7? 200 12ms","method":"GET","requestID":"6496027d7991bd9b7ec447f76ae100ae","responseTime":12,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"f45432d7360a96e0045994049a631df5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f45432d7360a96e0045994049a631df5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f45432d7360a96e0045994049a631df5"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.670041,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f45432d7360a96e0045994049a631df5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f45432d7360a96e0045994049a631df5","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.933170747Z"}]},"request_id":"d4c0b17f-9123-4db1-887b-55678ea26943","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.0136266} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f45432d7360a96e0045994049a631df5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f45432d7360a96e0045994049a631df5"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f45432d7360a96e0045994049a631df5"} device-1 | {"level":"info","message":"GET /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53? 200 15ms","method":"GET","requestID":"f45432d7360a96e0045994049a631df5","responseTime":15,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"a5d98627a1696b317643d9efba67b4b4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a5d98627a1696b317643d9efba67b4b4","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a5d98627a1696b317643d9efba67b4b4"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.219777,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a5d98627a1696b317643d9efba67b4b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a5d98627a1696b317643d9efba67b4b4","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Attempting to run experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Attempting to book experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully booked experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42fe7ab0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42fec8d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.119544,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42fe7ab0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"42fe7ab0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.943493,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"42fec8d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"42fec8d0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.880246043Z"}]},"request_id":"133d4ea4-f6fc-434d-a032-cbb9af433dce","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.0896046} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"42fe7ab0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.933170747Z"}]},"request_id":"4241ffc9-4600-4763-8054-73dc85896e0f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.0910678} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"42fec8d0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42fe7ab0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7? 200 23ms","method":"GET","requestID":"42fe7ab0-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"42fec8d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53? 200 23ms","method":"GET","requestID":"42fec8d0-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Setting up experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully set up experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"430b24e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"430b9a10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"430be830-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.334159,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully running experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"430b24e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"430b24e0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.135956,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"430b9a10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"430b9a10-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e697cf71-71a7-43c8-983d-6d31e94c3cc9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.1723404} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.622532,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"430be830-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","rebac_allow":false,"scope_allow":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":"430be830-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.933170747Z"}]},"request_id":"e3943af9-8737-4809-a428-79c0ff49f92c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.177175} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"430b9a10-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.880246043Z"}]},"request_id":"97a870d2-7c02-4e48-8196-542c153da307","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.1817336} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"430be830-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling 200 20ms","method":"POST","requestID":"430be830-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"430b24e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"430fb8c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"430b9a10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53? 200 31ms","method":"GET","requestID":"430b9a10-63bc-11ef-bd85-dbaeea89054b","responseTime":31,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"430b24e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79968b52-2272-4b0f-a287-ea79f47940ad#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79968b52-2272-4b0f-a287-ea79f47940ad","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"f73041bc-6bc0-4833-aaa4-86e4e64586be","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.1913145} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0a7539c9-c835-4cef-bc60-68817eb8dcb1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.1918092} device-1 | {"level":"info","message":"GET /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7? 200 36ms","method":"GET","requestID":"430b24e0-63bc-11ef-bd85-dbaeea89054b","responseTime":36,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"a5d98627a1696b317643d9efba67b4b4","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"85b5494e-197b-41e0-afa2-e00b3c8f9d90","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.195179} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.103051,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4310f140-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"430fb8c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","rebac_allow":false,"scope_allow":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":"430fb8c0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"430fb8c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling 200 13ms","method":"POST","requestID":"430fb8c0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2477863e-977a-4ed1-860f-be0f06491a15","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.2041693} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.707168,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a5d98627a1696b317643d9efba67b4b4"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4310f140-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","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":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1287","request_time":"0.186","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 180ms","method":"POST","requestID":"a5d98627a1696b317643d9efba67b4b4","responseTime":180,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"4310f140-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4310f140-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling 200 14ms","method":"POST","requestID":"4310f140-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"ee6beac17c36b5886da24e1d613012d6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ee6beac17c36b5886da24e1d613012d6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"43136240-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ee6beac17c36b5886da24e1d613012d6"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"85b7c20c-5159-42a3-8c7b-8c060bf87ba3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.219039} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.23545,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ee6beac17c36b5886da24e1d613012d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ee6beac17c36b5886da24e1d613012d6","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.763481,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"43136240-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","rebac_allow":false,"scope_allow":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":"43136240-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.880246043Z"}]},"request_id":"6e64a7a7-c092-4af6-8fed-4be9688e0395","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.224416} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"43136240-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling 200 12ms","method":"POST","requestID":"43136240-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ee6beac17c36b5886da24e1d613012d6","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Building connection plan","requestID":"a5d98627a1696b317643d9efba67b4b4"} 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":"3b8eed61-8901-4cac-9f7f-a71d36516595"},{"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":"b78a324a-0926-4264-8cbe-6cbab3f93bdb"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"c264e345-8b45-4e12-8104-022ebdb0ff41"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a5d98627a1696b317643d9efba67b4b4"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"a5d98627a1696b317643d9efba67b4b4"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ee6beac17c36b5886da24e1d613012d6"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ee6beac17c36b5886da24e1d613012d6"} device-1 | {"level":"info","message":"GET /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7? 200 13ms","method":"GET","requestID":"ee6beac17c36b5886da24e1d613012d6","responseTime":13,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.931848,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"8b59ba5bda10e342de832a5a0f915df9"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8b59ba5bda10e342de832a5a0f915df9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8b59ba5bda10e342de832a5a0f915df9"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.875347,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8b59ba5bda10e342de832a5a0f915df9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8b59ba5bda10e342de832a5a0f915df9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:47.933170747Z"}]},"request_id":"04f55665-636e-4e47-814c-e5cc0c0912a3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.243011} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8b59ba5bda10e342de832a5a0f915df9","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"6e5ea0bf-4406-4f9d-bcf5-6718fea112bc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.2441456} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac08f4b1-dd4d-4f70-9999-a52ab7f59512","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.2444925} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8b59ba5bda10e342de832a5a0f915df9"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8b59ba5bda10e342de832a5a0f915df9"} device-1 | {"level":"info","message":"GET /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53? 200 13ms","method":"GET","requestID":"8b59ba5bda10e342de832a5a0f915df9","responseTime":13,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d'","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d'","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"4315fa50-63bc-11ef-bd85-dbaeea89054b"} 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":"4315fa50-63bc-11ef-bd85-dbaeea89054b","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":"4315fa50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a5d98627a1696b317643d9efba67b4b4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"431eace0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d75cf5b7-84bb-4b8f-9af8-fe59e6e6c94d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.2903984} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.152588,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"431eace0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"431eace0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"431eace0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling 200 8ms","method":"POST","requestID":"431eace0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"43203380-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"90579432-2aa9-4183-af37-1347e82977d9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.3012118} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.44786,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"43203380-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"43203380-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"canTrickle":true},"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"43203380-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling 200 10ms","method":"POST","requestID":"43203380-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling"} device-1 | {"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3722211991348187435 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:akJP\r\na=ice-pwd:0WQP0217S5ZWmwJBNEYrnWIu\r\na=ice-options:trickle\r\na=fingerprint:sha-256 19:DC:CE:3D:33:F0:B3:0A:5B:65:27:DA:99:74:ED:5D:72:BA:1D:B2:9D:A3:F3:27:D0:6D:8C:9A:C7:40:8B:05\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 7550452673409093195 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:yjiS\r\na=ice-pwd:etJVclPjh0N656d5kE7bvW0o\r\na=ice-options:trickle\r\na=fingerprint:sha-256 CC:5A:3F:8B:94:87:82:75:E9:96:5B:F2:79:FE:95:6D:CB:92:CB:0B:EF:3D:9A:FC:C0:78:F3:A3:FC:F1:8E:2C\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2450747682 1 udp 2113937151 4d43317f-e9e4-4b72-986b-daf733ed19bc.local 42100 typ host generation 0 ufrag yjiS network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:20500529 1 udp 1677729535 141.24.211.56 42100 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag yjiS network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","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/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7'"} device-1 | {"content":{"candidate":"candidate:2562499304 1 udp 2113937151 84ffc3b4-9f21-4052-aa31-fd4c76dab6fb.local 36964 typ host generation 0 ufrag akJP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:479316119 1 udp 1677729535 141.24.211.56 36964 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag akJP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","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/8a1021e3-ee27-4297-a041-b2427dd7ef53'"} device-1 | {"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","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/b755dd36-8144-44cf-a477-61062e60660d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b755dd36-8144-44cf-a477-61062e60660d","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c8c82430ed88ab06a22f941cc56a7751","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c8c82430ed88ab06a22f941cc56a7751","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","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","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d"}}},"level":"info","message":"received a callback","requestID":"c8c82430ed88ab06a22f941cc56a7751"} device-1 | {"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","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":"c8c82430ed88ab06a22f941cc56a7751","responseTime":4,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.007","http_referrer":"","http_user_agent":"node-fetch","requestID":"c8c82430ed88ab06a22f941cc56a7751"} device-1 | {"data":{"peerconnection":"b755dd36-8144-44cf-a477-61062e60660d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"b755dd36-8144-44cf-a477-61062e60660d","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/b755dd36-8144-44cf-a477-61062e60660d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b755dd36-8144-44cf-a477-61062e60660d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1be04b2f9df65af31d7e8ffcbc4037a0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"1be04b2f9df65af31d7e8ffcbc4037a0","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","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d"}}},"level":"info","message":"received a callback","requestID":"1be04b2f9df65af31d7e8ffcbc4037a0"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"432e6450-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb755dd36-8144-44cf-a477-61062e60660d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"59231621-0f89-4206-999c-f6062bd4d910","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.3932493} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.119769,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"432e6450-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","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":"432e6450-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"432e6450-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/b755dd36-8144-44cf-a477-61062e60660d 200 7ms","method":"GET","requestID":"432e6450-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/peerconnections/b755dd36-8144-44cf-a477-61062e60660d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 33ms","method":"POST","requestID":"1be04b2f9df65af31d7e8ffcbc4037a0","responseTime":33,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"1be04b2f9df65af31d7e8ffcbc4037a0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4332d120-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"40cf22f3-63ee-4659-9375-e4ddad448f56","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.4219682} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.010024,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4332d120-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","rebac_allow":false,"scope_allow":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":"4332d120-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4332d120-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling 200 8ms","method":"POST","requestID":"4332d120-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"433457c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ba368a3b-3367-4356-bcc0-4fb427eaebd7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.432449} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.760932,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"433457c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"433457c0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"433457c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling 200 8ms","method":"POST","requestID":"433457c0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"7670072f307c1bedf5601b46dfcafebd"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7670072f307c1bedf5601b46dfcafebd","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/79968b52-2272-4b0f-a287-ea79f47940ad","requestID":"7670072f307c1bedf5601b46dfcafebd"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.676502,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"7670072f307c1bedf5601b46dfcafebd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7670072f307c1bedf5601b46dfcafebd","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/79968b52-2272-4b0f-a287-ea79f47940ad","requestID":"7670072f307c1bedf5601b46dfcafebd"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/79968b52-2272-4b0f-a287-ea79f47940ad HTTP/1.1","status": "200","body_bytes_sent":"1360","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7670072f307c1bedf5601b46dfcafebd"} experiment-1 | {"level":"info","message":"GET /experiments/79968b52-2272-4b0f-a287-ea79f47940ad 200 8ms","method":"GET","requestID":"7670072f307c1bedf5601b46dfcafebd","responseTime":8,"status":200,"url":"/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"217253cc543b163438f7781f34849296"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"217253cc543b163438f7781f34849296","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/79968b52-2272-4b0f-a287-ea79f47940ad","requestID":"217253cc543b163438f7781f34849296"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.707634,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"217253cc543b163438f7781f34849296","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"217253cc543b163438f7781f34849296","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Attempting to finish experiment","requestID":"217253cc543b163438f7781f34849296"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"433e69e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.692521,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"433e69e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"433e69e0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","device":"b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d","device":"8a1021e3-ee27-4297-a041-b2427dd7ef53","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/b755dd36-8144-44cf-a477-61062e60660d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b755dd36-8144-44cf-a477-61062e60660d","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb755dd36-8144-44cf-a477-61062e60660d': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb755dd36-8144-44cf-a477-61062e60660d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"dad03108-de4c-4499-a0e7-5a5420c297e2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.5080082} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f8f6dfaa9f9afaa0e82333d946863770","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9af4cef8-22d7-48c2-8f58-b4812531d685","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.5082264} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"f8f6dfaa9f9afaa0e82333d946863770","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"433e69e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"43b093f9c356e71e89f0cdf58ab4baf0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d"}}},"level":"info","message":"received a callback","requestID":"f8f6dfaa9f9afaa0e82333d946863770"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"43b093f9c356e71e89f0cdf58ab4baf0","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b755dd36-8144-44cf-a477-61062e60660d"}}},"level":"info","message":"received a callback","requestID":"43b093f9c356e71e89f0cdf58ab4baf0"} device-1 | {"data":{"peerconnection":"b755dd36-8144-44cf-a477-61062e60660d","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"433e69e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/b755dd36-8144-44cf-a477-61062e60660d 204 33ms","method":"DELETE","requestID":"433e69e0-63bc-11ef-bd85-dbaeea89054b","responseTime":33,"status":204,"url":"/peerconnections/b755dd36-8144-44cf-a477-61062e60660d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"},"level":"info","message":"Successfully finished experiment","requestID":"217253cc543b163438f7781f34849296"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"43468030-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb28cc2ad-d24d-43c5-be3c-a8efaa7683e7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f808d7e6-bafa-460a-ad59-9af266f77d0e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.552646} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.198654,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"43468030-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7","object_type":"device","rebac_allow":false,"scope_allow":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":"43468030-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"43468030-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling 200 11ms","method":"POST","requestID":"43468030-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79968b52-2272-4b0f-a287-ea79f47940ad': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79968b52-2272-4b0f-a287-ea79f47940ad","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"c2f87354-80bf-4ddc-9b08-c3ad3cdebede","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.5603037} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"43487c00-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"63ed8223-d5cd-46df-8afd-5df363d12e1b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.56067} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"217253cc543b163438f7781f34849296","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8a1021e3-ee27-4297-a041-b2427dd7ef53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b278e6de-5b85-4564-ac78-e3f5e8f76f15","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.5647602} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.136739,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"43487c00-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53","object_type":"device","rebac_allow":false,"scope_allow":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":"43487c00-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"43487c00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling 200 9ms","method":"POST","requestID":"43487c00-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/79968b52-2272-4b0f-a287-ea79f47940ad","requestID":"217253cc543b163438f7781f34849296"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/79968b52-2272-4b0f-a287-ea79f47940ad HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"217253cc543b163438f7781f34849296"} experiment-1 | {"level":"info","message":"DELETE /experiments/79968b52-2272-4b0f-a287-ea79f47940ad 204 130ms","method":"DELETE","requestID":"217253cc543b163438f7781f34849296","responseTime":130,"status":204,"url":"/experiments/79968b52-2272-4b0f-a287-ea79f47940ad"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 107ms","method":"POST","requestID":"f8f6dfaa9f9afaa0e82333d946863770","responseTime":107,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.110","http_referrer":"","http_user_agent":"node-fetch","requestID":"f8f6dfaa9f9afaa0e82333d946863770"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 108ms","method":"POST","requestID":"43b093f9c356e71e89f0cdf58ab4baf0","responseTime":108,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.112","http_referrer":"","http_user_agent":"node-fetch","requestID":"43b093f9c356e71e89f0cdf58ab4baf0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"b5431d12e6d2c69f0d91715b6836794d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b5431d12e6d2c69f0d91715b6836794d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b5431d12e6d2c69f0d91715b6836794d"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.73741,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b5431d12e6d2c69f0d91715b6836794d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b5431d12e6d2c69f0d91715b6836794d","responseTime":3,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2887","request_time":"0.665","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"24944db151fc6f6c67bb0ce73cc8d6d6"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2884","request_time":"0.654","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"83b8a378c9d0aca3e0ba73ac13bbbd55"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8a1021e3-ee27-4297-a041-b2427dd7ef53' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/b28cc2ad-d24d-43c5-be3c-a8efaa7683e7' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"19177e1f-8196-4838-8c17-cc1fab337a76","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.654113} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b5431d12e6d2c69f0d91715b6836794d","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd9a83b6-05fd-4bf2-9058-1597624f54e3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.659325} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b5431d12e6d2c69f0d91715b6836794d","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"7010c9b7-c48f-4e26-ad76-ddb3acc620a0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.6697967} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77db0b98-d0d0-4225-b1bd-270dba392dbb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.6699922} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"b5431d12e6d2c69f0d91715b6836794d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.669770550Z"}]},"request_id":"fe52b03c-f56e-44be-929e-ad1d8f6259e9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.6736014} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b5431d12e6d2c69f0d91715b6836794d","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b5431d12e6d2c69f0d91715b6836794d"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b5431d12e6d2c69f0d91715b6836794d"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"b5431d12e6d2c69f0d91715b6836794d","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY","level":"info","message":"auth send jwt","requestID":"a31337eef12af280f4d12e0f760fb15e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a31337eef12af280f4d12e0f760fb15e","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a31337eef12af280f4d12e0f760fb15e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.696239,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a31337eef12af280f4d12e0f760fb15e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684570,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3MH0.Nfh_CCvp7yBngmFDc-cyRKufi_7nMlbHoD6MYavk_pY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a31337eef12af280f4d12e0f760fb15e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"33a38341-8760-4adf-9d19-985523442eff","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.6957328} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a31337eef12af280f4d12e0f760fb15e","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"911d763d-5605-46b6-918c-0968be186ddb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.700044} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a31337eef12af280f4d12e0f760fb15e","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"b650fcab-5b2c-4ccb-b2d3-3513cab4d15f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.7095046} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67192bf1-be54-4e79-b1a8-6ea7ba697953","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.7099686} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"a31337eef12af280f4d12e0f760fb15e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.709487342Z"}]},"request_id":"07e171ab-1e4f-42b8-80e0-a3d7e72231df","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684570.714358} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a31337eef12af280f4d12e0f760fb15e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a31337eef12af280f4d12e0f760fb15e"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"a31337eef12af280f4d12e0f760fb15e","responseTime":36,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a31337eef12af280f4d12e0f760fb15e"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b2679ce024681576218b0b5c0b744687","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"b2679ce024681576218b0b5c0b744687","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7a31219b-a395-4552-9368-fe884d01e4fa/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":"b2679ce024681576218b0b5c0b744687"} device-1 | {"level":"info","message":"OPTIONS /devices/7a31219b-a395-4552-9368-fe884d01e4fa/websocket 200 1ms","method":"OPTIONS","requestID":"b2679ce024681576218b0b5c0b744687","responseTime":1,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE","level":"info","message":"auth send jwt","requestID":"3cce234d0f90f67af9616686788193b5"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3cce234d0f90f67af9616686788193b5","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3cce234d0f90f67af9616686788193b5"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.204017,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3cce234d0f90f67af9616686788193b5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3cce234d0f90f67af9616686788193b5","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2425192e43acda59759a67546f2b14ca","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"2425192e43acda59759a67546f2b14ca","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/930fff0b-ef76-436b-85e8-8af4806f3265/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":"2425192e43acda59759a67546f2b14ca"} device-1 | {"level":"info","message":"OPTIONS /devices/930fff0b-ef76-436b-85e8-8af4806f3265/websocket 200 1ms","method":"OPTIONS","requestID":"2425192e43acda59759a67546f2b14ca","responseTime":1,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE","level":"info","message":"auth send jwt","requestID":"d6c278950c347f646fbbbd5ba07e7ded"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3cce234d0f90f67af9616686788193b5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d6c278950c347f646fbbbd5ba07e7ded","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7a31219b-a395-4552-9368-fe884d01e4fa/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":"3cce234d0f90f67af9616686788193b5"} device-1 | {"level":"info","message":"POST /devices/7a31219b-a395-4552-9368-fe884d01e4fa/websocket 200 20ms","method":"POST","requestID":"3cce234d0f90f67af9616686788193b5","responseTime":20,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d6c278950c347f646fbbbd5ba07e7ded"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.920567,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d6c278950c347f646fbbbd5ba07e7ded","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d6c278950c347f646fbbbd5ba07e7ded","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d6c278950c347f646fbbbd5ba07e7ded"} device-1 | {"level":"info","message":"POST /devices/930fff0b-ef76-436b-85e8-8af4806f3265/websocket 200 11ms","method":"POST","requestID":"d6c278950c347f646fbbbd5ba07e7ded","responseTime":11,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/930fff0b-ef76-436b-85e8-8af4806f3265/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.016","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d6c278950c347f646fbbbd5ba07e7ded"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE","level":"info","message":"auth send jwt","requestID":"191fa797b626ad0269fc3f53eb4be61b"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"191fa797b626ad0269fc3f53eb4be61b","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"191fa797b626ad0269fc3f53eb4be61b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.097352,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"191fa797b626ad0269fc3f53eb4be61b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"191fa797b626ad0269fc3f53eb4be61b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.669770550Z"}]},"request_id":"5a9fc093-99c8-462f-aae2-07290b12e3b0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.6843934} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"191fa797b626ad0269fc3f53eb4be61b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"191fa797b626ad0269fc3f53eb4be61b"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7a31219b-a395-4552-9368-fe884d01e4fa? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"191fa797b626ad0269fc3f53eb4be61b"} device-1 | {"level":"info","message":"GET /devices/7a31219b-a395-4552-9368-fe884d01e4fa? 200 12ms","method":"GET","requestID":"191fa797b626ad0269fc3f53eb4be61b","responseTime":12,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE","level":"info","message":"auth send jwt","requestID":"53819da8d762874cf9286bf5f52b39d5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"53819da8d762874cf9286bf5f52b39d5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"53819da8d762874cf9286bf5f52b39d5"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.61029,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"53819da8d762874cf9286bf5f52b39d5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"53819da8d762874cf9286bf5f52b39d5","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.709487342Z"}]},"request_id":"4a21d818-a0c1-43ea-a150-55b4a3b96250","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.70154} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"53819da8d762874cf9286bf5f52b39d5","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"53819da8d762874cf9286bf5f52b39d5"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/930fff0b-ef76-436b-85e8-8af4806f3265? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"53819da8d762874cf9286bf5f52b39d5"} device-1 | {"level":"info","message":"GET /devices/930fff0b-ef76-436b-85e8-8af4806f3265? 200 10ms","method":"GET","requestID":"53819da8d762874cf9286bf5f52b39d5","responseTime":10,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE","level":"info","message":"auth send jwt","requestID":"6cd6018442702015d55abe56d1badc89"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6cd6018442702015d55abe56d1badc89","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6cd6018442702015d55abe56d1badc89"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.061769,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6cd6018442702015d55abe56d1badc89","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6cd6018442702015d55abe56d1badc89","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Attempting to run experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Attempting to book experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully booked experiment","requestID":"6cd6018442702015d55abe56d1badc89"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44956e60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4495bc80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.351666,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44956e60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"44956e60-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.871209,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4495bc80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4495bc80-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.669770550Z"}]},"request_id":"e11e55d1-0e5b-4b73-b6ff-ed1444b9fb74","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.752031} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"44956e60-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.709487342Z"}]},"request_id":"c79ab525-74dd-4637-8e35-724be23cc35e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.752926} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4495bc80-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44956e60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/7a31219b-a395-4552-9368-fe884d01e4fa? 200 17ms","method":"GET","requestID":"44956e60-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4495bc80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/930fff0b-ef76-436b-85e8-8af4806f3265? 200 16ms","method":"GET","requestID":"4495bc80-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Setting up experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully set up experiment","requestID":"6cd6018442702015d55abe56d1badc89"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44a1a360-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"44a21890-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44a23fa0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully running experiment","requestID":"6cd6018442702015d55abe56d1badc89"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734623,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44a1a360-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"44a1a360-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.911645,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44a21890-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"44a21890-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.606748,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0c7cc1f-16c5-4ea8-bcf7-9a9b63c87aa9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8330276} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44a23fa0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","rebac_allow":false,"scope_allow":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":"44a23fa0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.669770550Z"}]},"request_id":"02ddb364-ce24-4952-936c-1fa0742114f0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8363805} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"44a1a360-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.709487342Z"}]},"request_id":"d3f94832-2f3a-4994-a01a-6e7e53956187","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8393314} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"44a21890-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44a23fa0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling 200 15ms","method":"POST","requestID":"44a23fa0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44a4fec0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44a1a360-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/7a31219b-a395-4552-9368-fe884d01e4fa? 200 25ms","method":"GET","requestID":"44a1a360-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa?"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"44a21890-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/930fff0b-ef76-436b-85e8-8af4806f3265? 200 23ms","method":"GET","requestID":"44a21890-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c7acefc4-3415-4440-b7b9-4b389c11b671","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.849933} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.812283,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44a61030-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44a4fec0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","rebac_allow":false,"scope_allow":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":"44a4fec0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"3260ff5b-c020-492b-a45e-58a8817f823e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8518252} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"94de65ca-d8d2-426f-8076-5b287c2f23e8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.852076} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"6cd6018442702015d55abe56d1badc89","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44a4fec0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling 200 11ms","method":"POST","requestID":"44a4fec0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3f30513a-5095-461f-81b5-b0f5e963aada","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8578703} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.295437,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44a61030-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","rebac_allow":false,"scope_allow":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":"44a61030-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6cd6018442702015d55abe56d1badc89"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44a61030-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 150ms","method":"POST","requestID":"6cd6018442702015d55abe56d1badc89","responseTime":150,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1287","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6cd6018442702015d55abe56d1badc89"} device-1 | {"level":"info","message":"POST /devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling 200 12ms","method":"POST","requestID":"44a61030-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44a83310-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE","level":"info","message":"auth send jwt","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2bfaa289-fd8b-4417-87d5-6522b229a02d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.870161} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.673327,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44a83310-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44a83310-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.854307,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44a83310-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling 200 11ms","method":"POST","requestID":"44a83310-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265/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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.669770550Z"}]},"request_id":"9c400331-36e9-46bc-8ebd-d5de918081bf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8766198} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Building connection plan","requestID":"6cd6018442702015d55abe56d1badc89"} 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":"47ad7c94-5bce-4c21-a751-1d5c5337eab0"},{"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":"531e5a91-7f19-4e35-ba2d-8fc130961132"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"22ff4bd2-e9f0-4995-8350-c84255a22046"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6cd6018442702015d55abe56d1badc89"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6cd6018442702015d55abe56d1badc89"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7a31219b-a395-4552-9368-fe884d01e4fa? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88"} device-1 | {"level":"info","message":"GET /devices/7a31219b-a395-4552-9368-fe884d01e4fa? 200 14ms","method":"GET","requestID":"79bc19c9d400d36fa9a2ad9fe53e7d88","responseTime":14,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.84344,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE","level":"info","message":"auth send jwt","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.597109,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ad12b3f5861d6c1e1516b9837e6cbc26","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684572,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3Mn0.0zucIv3hilNMHjUUlEN4l0gt4DpOWbyhlzOPB9KvdeE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"6a853c6c-aa28-4e01-b959-3c9bab84cc70","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8930752} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"70a85d6a-5ce7-4649-becb-34cda1358b5d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8935337} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:50.709487342Z"}]},"request_id":"798208ba-2d12-4929-a8cd-b2ecd13afe2a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.8988357} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e'","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e'","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b"} 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":"44aa55f0-63bc-11ef-bd85-dbaeea89054b","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":"getDevicesByDeviceId succeeded","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26"} gateway-1 | {"time_local":"26/Aug/2024:15:02:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/930fff0b-ef76-436b-85e8-8af4806f3265? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26"} device-1 | {"level":"info","message":"GET /devices/930fff0b-ef76-436b-85e8-8af4806f3265? 200 24ms","method":"GET","requestID":"ad12b3f5861d6c1e1516b9837e6cbc26","responseTime":24,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"44aa55f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6cd6018442702015d55abe56d1badc89"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44b356a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7f1db16-f00b-4fae-b3ee-0a6a0689b954","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.94367} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.809659,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44b356a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","rebac_allow":false,"scope_allow":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":"44b356a0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44b356a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling 200 10ms","method":"POST","requestID":"44b356a0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling"} device-1 | {"device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44b52b60-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4303f528-2ad4-4ca4-8c9f-33f6da89b258","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684572.9546607} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.068466,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44b52b60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","rebac_allow":false,"scope_allow":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":"44b52b60-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44b52b60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling 200 8ms","method":"POST","requestID":"44b52b60-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling"} device-1 | {"device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 5277970785550591886 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:mg5+\r\na=ice-pwd:aTFd6+LiwtiuMfxm3Qeb/P2+\r\na=ice-options:trickle\r\na=fingerprint:sha-256 2B:4A:FB:29:87:3B:18:BE:BF:5D:D0:29:4E:15:9C:C6:4E:36:30:30:AE:B1:9C:E8:85:64:57:4B:FE:7E:B6:76\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 1599930074523298897 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:T5Rf\r\na=ice-pwd:qtjemnrY7tmQLHex0kTiIbRk\r\na=ice-options:trickle\r\na=fingerprint:sha-256 DF:A1:34:F7:F2:62:9E:1F:8B:75:10:61:27:34:E7:27:2F:A9:DC:17:9A:91:53:AF:1E:1D:ED:91:4A:5F:A1:AE\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:909144557 1 udp 2113937151 37bb6e64-7232-4340-ad79-6c4a6177c04a.local 33929 typ host generation 0 ufrag T5Rf network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2770063614 1 udp 1677729535 141.24.211.56 33929 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag T5Rf network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"930fff0b-ef76-436b-85e8-8af4806f3265","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/930fff0b-ef76-436b-85e8-8af4806f3265'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265'"} device-1 | {"content":{"candidate":"candidate:3311849730 1 udp 2113937151 aaa3cf58-a0f3-498d-9a3f-5749b75fd945.local 41511 typ host generation 0 ufrag mg5+ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1095482237 1 udp 1677729535 141.24.211.56 41511 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag mg5+ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7a31219b-a395-4552-9368-fe884d01e4fa","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/7a31219b-a395-4552-9368-fe884d01e4fa'"} device-1 | {"device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"930fff0b-ef76-436b-85e8-8af4806f3265","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/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c302165b8695e0eaa1a677a0ff66aff6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c302165b8695e0eaa1a677a0ff66aff6","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e"}}},"level":"info","message":"received a callback","requestID":"c302165b8695e0eaa1a677a0ff66aff6"} device-1 | {"device":"7a31219b-a395-4552-9368-fe884d01e4fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"930fff0b-ef76-436b-85e8-8af4806f3265","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":"c302165b8695e0eaa1a677a0ff66aff6","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"c302165b8695e0eaa1a677a0ff66aff6"} device-1 | {"device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","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/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"df81bda06c0d8acf36d916d5b1d71977","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"df81bda06c0d8acf36d916d5b1d71977","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e"}}},"level":"info","message":"received a callback","requestID":"df81bda06c0d8acf36d916d5b1d71977"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"44c298e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f803e312-b50b-4772-a8cb-5dc5875c4797","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.042048} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.015313,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44c298e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","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":"44c298e0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"44c298e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e 200 7ms","method":"GET","requestID":"44c298e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"df81bda06c0d8acf36d916d5b1d71977","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.039","http_referrer":"","http_user_agent":"node-fetch","requestID":"df81bda06c0d8acf36d916d5b1d71977"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44c77ae0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e15f6e7d-e39d-4942-a75f-cfdfdd104f69","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.075164} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.528028,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44c77ae0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","rebac_allow":false,"scope_allow":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":"44c77ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44c77ae0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling 200 8ms","method":"POST","requestID":"44c77ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44c90180-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bc449596-d11d-4029-ac46-625b94eceafe","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.0850039} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.44259,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44c90180-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","rebac_allow":false,"scope_allow":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":"44c90180-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44c90180-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling 200 8ms","method":"POST","requestID":"44c90180-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ","level":"info","message":"auth send jwt","requestID":"2b438239e282a6fa4760be57acb02c00"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2b438239e282a6fa4760be57acb02c00","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","requestID":"2b438239e282a6fa4760be57acb02c00"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.691405,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2b438239e282a6fa4760be57acb02c00","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684573,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2b438239e282a6fa4760be57acb02c00","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","requestID":"2b438239e282a6fa4760be57acb02c00"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b HTTP/1.1","status": "200","body_bytes_sent":"1360","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2b438239e282a6fa4760be57acb02c00"} experiment-1 | {"level":"info","message":"GET /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b 200 12ms","method":"GET","requestID":"2b438239e282a6fa4760be57acb02c00","responseTime":12,"status":200,"url":"/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ","level":"info","message":"auth send jwt","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.966446,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684573,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Attempting to finish experiment","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"44d313a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.965325,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44d313a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684573,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"44d313a0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","device":"930fff0b-ef76-436b-85e8-8af4806f3265","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","device":"7a31219b-a395-4552-9368-fe884d01e4fa","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/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"207fb8edc23f5a8294d2b61293771b2c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"207fb8edc23f5a8294d2b61293771b2c","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"72e69757-dda8-4ae7-a6b5-21ccaf94e309","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.164045} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e781ef82-0529-403f-91c5-a0c0b6d72965","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.1644099} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"44d313a0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fe0ffd024d46ddf9d4e0caf3f981f951","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fe0ffd024d46ddf9d4e0caf3f981f951","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e"}}},"level":"info","message":"received a callback","requestID":"207fb8edc23f5a8294d2b61293771b2c"} 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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e"}}},"level":"info","message":"received a callback","requestID":"fe0ffd024d46ddf9d4e0caf3f981f951"} device-1 | {"data":{"peerconnection":"2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"44d313a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e 204 37ms","method":"DELETE","requestID":"44d313a0-63bc-11ef-bd85-dbaeea89054b","responseTime":37,"status":204,"url":"/peerconnections/2bfc4f73-4ca6-447d-ad97-0d8cc3b1477e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"},"level":"info","message":"Successfully finished experiment","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44db5100-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F930fff0b-ef76-436b-85e8-8af4806f3265","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"52786a83-a00b-46a1-b67a-935c25aac827","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.205775} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.611221,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44db5100-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/930fff0b-ef76-436b-85e8-8af4806f3265","object_type":"device","rebac_allow":false,"scope_allow":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":"44db5100-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44db5100-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling 200 10ms","method":"POST","requestID":"44db5100-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/930fff0b-ef76-436b-85e8-8af4806f3265/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"c16a0ad5-8dd5-4831-9f45-e64a1672e450","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.2126794} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"44dd25c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8aab79b5-3782-4893-8a4e-c482c1a3d676","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.2127962} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7a31219b-a395-4552-9368-fe884d01e4fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a87c4bd7-5de8-47d9-918a-2f0e050ad42c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.2171638} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.222206,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"44dd25c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa","object_type":"device","rebac_allow":false,"scope_allow":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":"44dd25c0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"44dd25c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling 200 10ms","method":"POST","requestID":"44dd25c0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/7a31219b-a395-4552-9368-fe884d01e4fa/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c"} experiment-1 | {"level":"info","message":"DELETE /experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b 204 136ms","method":"DELETE","requestID":"32b9fe29ee418b9c3d87add2a6c2ec6c","responseTime":136,"status":204,"url":"/experiments/1b4a6225-6a16-4d98-b2a0-4e7ec5b0ec5b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 105ms","method":"POST","requestID":"207fb8edc23f5a8294d2b61293771b2c","responseTime":105,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.111","http_referrer":"","http_user_agent":"node-fetch","requestID":"207fb8edc23f5a8294d2b61293771b2c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 104ms","method":"POST","requestID":"fe0ffd024d46ddf9d4e0caf3f981f951","responseTime":104,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.111","http_referrer":"","http_user_agent":"node-fetch","requestID":"fe0ffd024d46ddf9d4e0caf3f981f951"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2886","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":"8987a891b66be10b71ea9cce587a2675"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ","level":"info","message":"auth send jwt","requestID":"5d193bdd78dad2fea53adcc948904083"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2887","request_time":"0.636","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9aece4ece85cbfbb3cd407bf80410193"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"5d193bdd78dad2fea53adcc948904083","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5d193bdd78dad2fea53adcc948904083"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7a31219b-a395-4552-9368-fe884d01e4fa' closed"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.811767,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5d193bdd78dad2fea53adcc948904083","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684573,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5d193bdd78dad2fea53adcc948904083","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/930fff0b-ef76-436b-85e8-8af4806f3265' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ce27341d-99a1-490c-88af-ee494963a1d2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.3116286} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5d193bdd78dad2fea53adcc948904083","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f774bcfd-64e0-448a-8bc8-de77954895ec","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.3160932} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5d193bdd78dad2fea53adcc948904083","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"66e92417-bfd3-425f-8c72-4570e1d8a6c4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.3264375} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c6b5f15b-b7d7-4606-a4d6-d444c2bb9b76","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.3266609} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"5d193bdd78dad2fea53adcc948904083","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.326412732Z"}]},"request_id":"86348ef7-0f46-40ee-a8c7-da6206942022","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.330725} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5d193bdd78dad2fea53adcc948904083","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5d193bdd78dad2fea53adcc948904083"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5d193bdd78dad2fea53adcc948904083"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"5d193bdd78dad2fea53adcc948904083","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ","level":"info","message":"auth send jwt","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.677194,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684573,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"223ed173-1459-4a9c-b4c3-e2cb7305a5d0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.3555937} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1ab37361-3120-4aaf-b992-a8f1f0e5239c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.3598313} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"08d12596-5cec-4f6e-8180-bab19875a21f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.4040878} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"beb817b7-0dc5-425c-80ad-de90c3672fc3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.4042013} authorization-1 | {"level":"info","message":"POST /relations/update 200 47ms","method":"POST","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","responseTime":47,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.404050142Z"}]},"request_id":"a5420a74-e5be-4aaf-a036-fa96fa41e787","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.4112005} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.082","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21"} device-1 | {"level":"info","message":"POST /devices? 201 75ms","method":"POST","requestID":"ba34a7c6cf88d7d4b164b8e69a370a21","responseTime":75,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ","level":"info","message":"auth send jwt","requestID":"24b698f7425e6d9651461a5c4444b874"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"24b698f7425e6d9651461a5c4444b874","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"24b698f7425e6d9651461a5c4444b874"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.23643,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"24b698f7425e6d9651461a5c4444b874","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684573,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"24b698f7425e6d9651461a5c4444b874","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.404050142Z"}]},"request_id":"58245894-cb82-4004-a4b8-036426e95baa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.9176314} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"24b698f7425e6d9651461a5c4444b874","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ef7469c2-9d11-42f9-8f12-4033cdbd63d8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.9251602} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"24b698f7425e6d9651461a5c4444b874","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.404050142Z"}]},"request_id":"fea1d5c9-36eb-4960-8b92-28007031af49","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684573.9382815} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"24b698f7425e6d9651461a5c4444b874","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"24b698f7425e6d9651461a5c4444b874"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"24b698f7425e6d9651461a5c4444b874"} device-1 | {"level":"info","message":"PATCH /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9 200 39ms","method":"PATCH","requestID":"24b698f7425e6d9651461a5c4444b874","responseTime":39,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ","level":"info","message":"auth send jwt","requestID":"5940655809fe51fcceefa76f0d0d38e0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5940655809fe51fcceefa76f0d0d38e0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5940655809fe51fcceefa76f0d0d38e0"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.635888,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:53Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5940655809fe51fcceefa76f0d0d38e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684573,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3M30.jfWLoVazk-OtD86S3pxxZ_7xNYsV9uFh9ZoUHGkOmKQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5940655809fe51fcceefa76f0d0d38e0","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5940655809fe51fcceefa76f0d0d38e0"} gateway-1 | {"time_local":"26/Aug/2024:15:02:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5940655809fe51fcceefa76f0d0d38e0"} device-1 | {"level":"info","message":"POST /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/websocket 200 21ms","method":"POST","requestID":"5940655809fe51fcceefa76f0d0d38e0","responseTime":21,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d026c33785a9062fb2e8695dfd5e1cd0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"d026c33785a9062fb2e8695dfd5e1cd0","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:02:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/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":"d026c33785a9062fb2e8695dfd5e1cd0"} device-1 | {"level":"info","message":"OPTIONS /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/websocket 200 1ms","method":"OPTIONS","requestID":"d026c33785a9062fb2e8695dfd5e1cd0","responseTime":1,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I","level":"info","message":"auth send jwt","requestID":"544816c343939287bf474704b8944d90"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"544816c343939287bf474704b8944d90","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"544816c343939287bf474704b8944d90"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.22381,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"544816c343939287bf474704b8944d90","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"544816c343939287bf474704b8944d90","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"544816c343939287bf474704b8944d90"} device-1 | {"level":"info","message":"POST /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/websocket 200 23ms","method":"POST","requestID":"544816c343939287bf474704b8944d90","responseTime":23,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:02:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/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":"544816c343939287bf474704b8944d90"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I","level":"info","message":"auth send jwt","requestID":"eafd3627bf31f8f340125d2696b389b7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"eafd3627bf31f8f340125d2696b389b7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eafd3627bf31f8f340125d2696b389b7"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.305657,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"eafd3627bf31f8f340125d2696b389b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eafd3627bf31f8f340125d2696b389b7","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.326412732Z"}]},"request_id":"daeb946f-0827-49e8-bf32-d048ec7a6900","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.4796412} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"eafd3627bf31f8f340125d2696b389b7","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eafd3627bf31f8f340125d2696b389b7"} gateway-1 | {"time_local":"26/Aug/2024:15:02:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dad88175-5413-4c24-bf64-1f28d8f54b59? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eafd3627bf31f8f340125d2696b389b7"} device-1 | {"level":"info","message":"GET /devices/dad88175-5413-4c24-bf64-1f28d8f54b59? 200 19ms","method":"GET","requestID":"eafd3627bf31f8f340125d2696b389b7","responseTime":19,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I","level":"info","message":"auth send jwt","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.164846,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.404050142Z"}]},"request_id":"ee6ae24a-74c0-430e-9051-e7e357389e59","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.5064652} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590"} gateway-1 | {"time_local":"26/Aug/2024:15:02:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590"} device-1 | {"level":"info","message":"GET /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9? 200 18ms","method":"GET","requestID":"afb1ca7bff89e4a5ac1e5e92cfa15590","responseTime":18,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I","level":"info","message":"auth send jwt","requestID":"0465697e0bf262d607217b89f90d53f6"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0465697e0bf262d607217b89f90d53f6","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"0465697e0bf262d607217b89f90d53f6"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.081284,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0465697e0bf262d607217b89f90d53f6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0465697e0bf262d607217b89f90d53f6","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Attempting to run experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Attempting to book experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully booked experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"464456e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"46447df0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.893719,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"464456e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"464456e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.969454,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"46447df0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"46447df0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.326412732Z"}]},"request_id":"aea3857d-066b-4f94-bb09-4ee9f0633243","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.5757039} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"464456e0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.404050142Z"}]},"request_id":"b9d6311d-ceec-43d0-bea2-3d713c21eddf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.577372} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"46447df0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"464456e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/dad88175-5413-4c24-bf64-1f28d8f54b59? 200 15ms","method":"GET","requestID":"464456e0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"46447df0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9? 200 15ms","method":"GET","requestID":"46447df0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Setting up experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully locked booking for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Attempting to update booking for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully updated booking for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully set up experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4650b2f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4650da00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"46512820-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully running experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.74939,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4650b2f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4650b2f0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.804503,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4650da00-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4650da00-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.520627,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d1db4151-f0e0-401f-be7a-71093fdd4f74","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.656585} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.326412732Z"}]},"request_id":"dd6dff95-0db4-423e-9f10-3b6b4c01eb1e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.659384} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"46512820-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","rebac_allow":false,"scope_allow":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":"46512820-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"4650b2f0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.404050142Z"}]},"request_id":"9bc3cff2-fa40-48b4-88df-5b403353fc83","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.6645026} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4650da00-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"46512820-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling 200 16ms","method":"POST","requestID":"46512820-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"46543560-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4650b2f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/dad88175-5413-4c24-bf64-1f28d8f54b59? 200 25ms","method":"GET","requestID":"4650b2f0-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4650da00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9? 200 26ms","method":"GET","requestID":"4650da00-63bc-11ef-bd85-dbaeea89054b","responseTime":26,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9?"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8c6c94da-6544-40a0-98c3-be2524d39ebf#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8c6c94da-6544-40a0-98c3-be2524d39ebf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"fe52f8f8-25f5-4fde-97e0-6291962784ed","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.674915} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3822128c-fcbe-4840-b371-a6ea3dda0237","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.6749852} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5744ce0c-9415-4e3c-8433-f5733e145b34","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.675204} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"46551fc0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.781443,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"0465697e0bf262d607217b89f90d53f6","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"46543560-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","rebac_allow":false,"scope_allow":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":"46543560-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"46543560-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling 200 12ms","method":"POST","requestID":"46543560-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1ec9bfea-ef7b-4aa6-a9b6-49c2bb9a8074","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.6822808} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.151848,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"46551fc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","rebac_allow":false,"scope_allow":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":"46551fc0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"0465697e0bf262d607217b89f90d53f6"} gateway-1 | {"time_local":"26/Aug/2024:15:02:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.174","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"level":"info","message":"POST /experiments? 201 167ms","method":"POST","requestID":"0465697e0bf262d607217b89f90d53f6","responseTime":167,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"46551fc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling 200 13ms","method":"POST","requestID":"46551fc0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"465769b0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I","level":"info","message":"auth send jwt","requestID":"765f2dbc852221c5f42c92ea0227fae2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"765f2dbc852221c5f42c92ea0227fae2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"765f2dbc852221c5f42c92ea0227fae2"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0a30ed2e-9ea3-4b78-8c76-d8f887d02c8b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.6959093} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.886091,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"765f2dbc852221c5f42c92ea0227fae2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"765f2dbc852221c5f42c92ea0227fae2","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.406461,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"465769b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"465769b0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.326412732Z"}]},"request_id":"327ff4e6-8b0e-4bc4-ab18-3c0e1caa9e3d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.7004793} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"465769b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling 200 10ms","method":"POST","requestID":"465769b0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"765f2dbc852221c5f42c92ea0227fae2","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Building connection plan","requestID":"0465697e0bf262d607217b89f90d53f6"} 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":"b5084ba4-7199-4464-b4a7-e9beaf2f629c"},{"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":"4ea85fc6-b252-4944-b7ff-4ad74e1ea333"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"f4f4013e-3ac7-417d-a180-69b4675558c0"}]},"level":"info","message":"Built pairwise service configurations","requestID":"0465697e0bf262d607217b89f90d53f6"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"0465697e0bf262d607217b89f90d53f6"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"765f2dbc852221c5f42c92ea0227fae2"} device-1 | {"level":"info","message":"GET /devices/dad88175-5413-4c24-bf64-1f28d8f54b59? 200 11ms","method":"GET","requestID":"765f2dbc852221c5f42c92ea0227fae2","responseTime":11,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dad88175-5413-4c24-bf64-1f28d8f54b59? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"765f2dbc852221c5f42c92ea0227fae2"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.957802,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I","level":"info","message":"auth send jwt","requestID":"b14f59df7aac6a476d0d15029d1605ef"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b14f59df7aac6a476d0d15029d1605ef","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b14f59df7aac6a476d0d15029d1605ef"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.732237,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b14f59df7aac6a476d0d15029d1605ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684575,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3NX0.U2zlLRENDDjC4JZIuNkcp2XpuPgKMZidlt-EiT5cm4I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b14f59df7aac6a476d0d15029d1605ef","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:53.404050142Z"}]},"request_id":"150815f8-3520-4c46-aecb-d5adf84c2253","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.7166324} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b14f59df7aac6a476d0d15029d1605ef","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"4b9e868e-7edf-4644-b058-acff3ba27de3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.717523} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"595e8b1e-20d2-4e8f-85f6-cb2f51e8b979","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.7177718} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b14f59df7aac6a476d0d15029d1605ef"} gateway-1 | {"time_local":"26/Aug/2024:15:02:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b14f59df7aac6a476d0d15029d1605ef"} device-1 | {"level":"info","message":"GET /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9? 200 11ms","method":"GET","requestID":"b14f59df7aac6a476d0d15029d1605ef","responseTime":11,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638'","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638'","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"46598c90-63bc-11ef-bd85-dbaeea89054b"} 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":"46598c90-63bc-11ef-bd85-dbaeea89054b","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":"46598c90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638","device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"0465697e0bf262d607217b89f90d53f6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"46623f20-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"175285b5-3af4-469b-982d-cf10fdc11fb6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.766749} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.564962,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"46623f20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"46623f20-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"46623f20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling 200 9ms","method":"POST","requestID":"46623f20-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"466413e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0760b396-f1ef-4f9f-933c-8fe821aa6abc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684575.7792134} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.611193,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"466413e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","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":{"sdp":"v=0\r\no=- 7344354583711936587 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:/lgv\r\na=ice-pwd:cUHEb1xecpSP+Nyef4q7ffYO\r\na=ice-options:trickle\r\na=fingerprint:sha-256 70:F7:42:9B:89:A9:E6:9E:FA:1A:0C:90:99:66:F5:52:F9:A4:84:A7:98:3B:92:14:2D:AE:E5:74:9F:FB:C2:F1\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"466413e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"466413e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling 200 13ms","method":"POST","requestID":"466413e0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling"} device-1 | {"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"55930a76-1e24-400a-9540-669524ab8638","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/55930a76-1e24-400a-9540-669524ab8638' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"55930a76-1e24-400a-9540-669524ab8638","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cf8a551b75a091783813911e7d817e55","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"cf8a551b75a091783813911e7d817e55","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638"}}},"level":"info","message":"received a callback","requestID":"cf8a551b75a091783813911e7d817e55"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"cf8a551b75a091783813911e7d817e55","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"cf8a551b75a091783813911e7d817e55"} device-1 | {"content":{"candidate":"candidate:1081890873 1 udp 2113937151 3845448b-d0af-42c7-969d-9f26624406d2.local 41581 typ host generation 0 ufrag /lgv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3293655622 1 udp 1677729535 141.24.211.56 41581 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag /lgv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2539425229 1 udp 33562623 141.24.210.113 57968 typ relay raddr 141.24.211.56 rport 41581 generation 0 ufrag /lgv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","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/dad88175-5413-4c24-bf64-1f28d8f54b59'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59'"} device-1 | {"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"peerconnection":"55930a76-1e24-400a-9540-669524ab8638","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"55930a76-1e24-400a-9540-669524ab8638","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/55930a76-1e24-400a-9540-669524ab8638' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"55930a76-1e24-400a-9540-669524ab8638","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"14f17b13a35a2a2d8dc47ef819d11a9e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"14f17b13a35a2a2d8dc47ef819d11a9e","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638"}}},"level":"info","message":"received a callback","requestID":"14f17b13a35a2a2d8dc47ef819d11a9e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"47a9da50-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:57Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F55930a76-1e24-400a-9540-669524ab8638","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c5ade9cb-2c44-4a06-841c-b95fd0cf008d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684577.9146562} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.954596,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"47a9da50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638","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":"47a9da50-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"47a9da50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/55930a76-1e24-400a-9540-669524ab8638 200 12ms","method":"GET","requestID":"47a9da50-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/peerconnections/55930a76-1e24-400a-9540-669524ab8638"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"14f17b13a35a2a2d8dc47ef819d11a9e","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.046","http_referrer":"","http_user_agent":"node-fetch","requestID":"14f17b13a35a2a2d8dc47ef819d11a9e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47af3180-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:57Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"17447e5c-d98c-4ca3-9219-21dd2e5cb26a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684577.9507864} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.612728,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"47af3180-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","rebac_allow":false,"scope_allow":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":"47af3180-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47af3180-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling 200 13ms","method":"POST","requestID":"47af3180-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47b1a280-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:57Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e0f3d70a-bef4-452d-99f7-8afef48a4bf2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684577.9658294} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.542425,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"47b1a280-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","rebac_allow":false,"scope_allow":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":"47b1a280-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47b1a280-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling 200 12ms","method":"POST","requestID":"47b1a280-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0","level":"info","message":"auth send jwt","requestID":"2e1c2fdacd5f048a3c9a6e8065924c63"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2e1c2fdacd5f048a3c9a6e8065924c63","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","requestID":"2e1c2fdacd5f048a3c9a6e8065924c63"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.45719,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2e1c2fdacd5f048a3c9a6e8065924c63","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684578,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2e1c2fdacd5f048a3c9a6e8065924c63","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","requestID":"2e1c2fdacd5f048a3c9a6e8065924c63"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2e1c2fdacd5f048a3c9a6e8065924c63"} experiment-1 | {"level":"info","message":"GET /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf 200 18ms","method":"GET","requestID":"2e1c2fdacd5f048a3c9a6e8065924c63","responseTime":18,"status":200,"url":"/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0","level":"info","message":"auth send jwt","requestID":"18bdbd41d9d0873b96afb891b6139a98"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"18bdbd41d9d0873b96afb891b6139a98","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","requestID":"18bdbd41d9d0873b96afb891b6139a98"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.368308,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"18bdbd41d9d0873b96afb891b6139a98","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684578,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"18bdbd41d9d0873b96afb891b6139a98","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Attempting to finish experiment","requestID":"18bdbd41d9d0873b96afb891b6139a98"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"47be9ad0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.708238,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"47be9ad0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684578,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"47be9ad0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638","device":"dad88175-5413-4c24-bf64-1f28d8f54b59","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/55930a76-1e24-400a-9540-669524ab8638' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"55930a76-1e24-400a-9540-669524ab8638","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F55930a76-1e24-400a-9540-669524ab8638': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F55930a76-1e24-400a-9540-669524ab8638","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"4654b3d8-1871-4a39-a9a1-1304bd1ccd80","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.0733778} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"745d4716-0f7a-4a62-a5fd-c5ee23bff5be","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.0738242} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a857d6c1ce6520ef536b0becd1f0bb58","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"a857d6c1ce6520ef536b0becd1f0bb58","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"47be9ad0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8941640d337977c37ba9c3a95b957187","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638"}}},"level":"info","message":"received a callback","requestID":"a857d6c1ce6520ef536b0becd1f0bb58"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8941640d337977c37ba9c3a95b957187","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/55930a76-1e24-400a-9540-669524ab8638"}}},"level":"info","message":"received a callback","requestID":"8941640d337977c37ba9c3a95b957187"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"47be9ad0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/55930a76-1e24-400a-9540-669524ab8638 204 73ms","method":"DELETE","requestID":"47be9ad0-63bc-11ef-bd85-dbaeea89054b","responseTime":73,"status":204,"url":"/peerconnections/55930a76-1e24-400a-9540-669524ab8638"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"},"level":"info","message":"Successfully finished experiment","requestID":"18bdbd41d9d0873b96afb891b6139a98"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47cddd10-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d45c18a9-a551-4826-b148-f1d9285fdd97","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.1522696} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.50177,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"47cddd10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9","object_type":"device","rebac_allow":false,"scope_allow":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":"47cddd10-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47cddd10-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8c6c94da-6544-40a0-98c3-be2524d39ebf': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8c6c94da-6544-40a0-98c3-be2524d39ebf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"854043a3-9454-4403-8b5f-38793b0aabec","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.1600618} device-1 | {"level":"info","message":"POST /devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/signaling 200 15ms","method":"POST","requestID":"47cddd10-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9/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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a08ebfaa-826d-4f66-8c24-4fe9eac605a0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.1606865} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"18bdbd41d9d0873b96afb891b6139a98","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"47d0c340-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdad88175-5413-4c24-bf64-1f28d8f54b59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"42040a9c-477b-4a50-9182-1b8a0873775f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.1725686} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.608826,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"47d0c340-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dad88175-5413-4c24-bf64-1f28d8f54b59","object_type":"device","rebac_allow":false,"scope_allow":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":"47d0c340-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"47d0c340-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling 200 17ms","method":"POST","requestID":"47d0c340-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/dad88175-5413-4c24-bf64-1f28d8f54b59/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf","requestID":"18bdbd41d9d0873b96afb891b6139a98"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf 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":"18bdbd41d9d0873b96afb891b6139a98"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3230","request_time":"4.261","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"84b722e1d60dd2fde11071ab41347e41"} experiment-1 | {"level":"info","message":"DELETE /experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf 204 202ms","method":"DELETE","requestID":"18bdbd41d9d0873b96afb891b6139a98","responseTime":202,"status":204,"url":"/experiments/8c6c94da-6544-40a0-98c3-be2524d39ebf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 157ms","method":"POST","requestID":"a857d6c1ce6520ef536b0becd1f0bb58","responseTime":157,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.162","http_referrer":"","http_user_agent":"node-fetch","requestID":"a857d6c1ce6520ef536b0becd1f0bb58"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 156ms","method":"POST","requestID":"8941640d337977c37ba9c3a95b957187","responseTime":156,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:02: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.162","http_referrer":"","http_user_agent":"node-fetch","requestID":"8941640d337977c37ba9c3a95b957187"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0","level":"info","message":"auth send jwt","requestID":"09241c4f85984c44a14f631673a2e8b6"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"09241c4f85984c44a14f631673a2e8b6","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"09241c4f85984c44a14f631673a2e8b6"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2742","request_time":"2.799","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0a472673dbdd92abf1ea87a52c397eb2"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.923254,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"09241c4f85984c44a14f631673a2e8b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684578,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"09241c4f85984c44a14f631673a2e8b6","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/28a7b287-e00b-43e5-b6c0-aeda9fd8d7c9' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"64e4a7de-1bda-480e-8c65-02f4b66a3ab8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.2628543} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"09241c4f85984c44a14f631673a2e8b6","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/dad88175-5413-4c24-bf64-1f28d8f54b59' 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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"603284f9-4a84-48c7-aa6c-1170de484204","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.2691135} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"09241c4f85984c44a14f631673a2e8b6","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"7972a3ab-97cc-4a9d-ad5c-265a9364d4fc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.2794776} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f8684652-c9c8-4e16-82e3-2c2f98cd5558","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.2796233} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"09241c4f85984c44a14f631673a2e8b6","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.279447235Z"}]},"request_id":"d29dbfb3-3002-4994-8b54-25df949f4b33","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.2847621} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"09241c4f85984c44a14f631673a2e8b6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"09241c4f85984c44a14f631673a2e8b6"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"09241c4f85984c44a14f631673a2e8b6","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"09241c4f85984c44a14f631673a2e8b6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0","level":"info","message":"auth send jwt","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.931652,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684578,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2e2abf7f-e11c-4d97-baae-2d6e13a91749","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.3143666} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"93262eca-1988-40df-b9fa-949056eb8961","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.3194635} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"93145558-0b40-4905-bb00-25e1adfb0d00","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.3303926} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d6bcf203-3cc2-44f1-bb6a-5eb9ff08bc8a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.3306353} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.330364462Z"}]},"request_id":"764890d6-3a66-4404-871f-f5510926c23b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.334594} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e32041fd7e41e1cb072b5d3e6715e3aa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0","level":"info","message":"auth send jwt","requestID":"065884bfc457a55eb0e5c44f4fea7626"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"065884bfc457a55eb0e5c44f4fea7626","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"065884bfc457a55eb0e5c44f4fea7626"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.845028,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"065884bfc457a55eb0e5c44f4fea7626","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684578,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"065884bfc457a55eb0e5c44f4fea7626","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.330364462Z"}]},"request_id":"83cb045f-8fb5-4d30-92c7-eeb55ffd1ffe","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.8333552} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"065884bfc457a55eb0e5c44f4fea7626","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"44db195a-4d44-4829-a6d8-719b96c1972d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.8415358} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"065884bfc457a55eb0e5c44f4fea7626","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.330364462Z"}]},"request_id":"47d207cc-362e-4166-85df-3370454f6390","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684578.8549602} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"065884bfc457a55eb0e5c44f4fea7626","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"065884bfc457a55eb0e5c44f4fea7626"} device-1 | {"level":"info","message":"PATCH /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c 200 39ms","method":"PATCH","requestID":"065884bfc457a55eb0e5c44f4fea7626","responseTime":39,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"065884bfc457a55eb0e5c44f4fea7626"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0","level":"info","message":"auth send jwt","requestID":"8f91b7cc1cc8703c9fa3bb55114440cd"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8f91b7cc1cc8703c9fa3bb55114440cd","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8f91b7cc1cc8703c9fa3bb55114440cd"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.30596,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:02:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8f91b7cc1cc8703c9fa3bb55114440cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684578,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU3OH0.V0WDYBOzZISR0XKFdByaA0Tp-d3gBQ6l4sLJV6wBRq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8f91b7cc1cc8703c9fa3bb55114440cd","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8f91b7cc1cc8703c9fa3bb55114440cd"} device-1 | {"level":"info","message":"POST /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/websocket 200 22ms","method":"POST","requestID":"8f91b7cc1cc8703c9fa3bb55114440cd","responseTime":22,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:02:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"8f91b7cc1cc8703c9fa3bb55114440cd"} device-1 | {"level":"info","message":"device 'http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"191f18c1c8eca76cf311c6dd2742ffb2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"191f18c1c8eca76cf311c6dd2742ffb2","responseTime":1,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/websocket 200 1ms","method":"OPTIONS","requestID":"191f18c1c8eca76cf311c6dd2742ffb2","responseTime":1,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/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":"191f18c1c8eca76cf311c6dd2742ffb2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40","level":"info","message":"auth send jwt","requestID":"0a4835c2a3e63700a2fa0be833d01e85"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0a4835c2a3e63700a2fa0be833d01e85","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0a4835c2a3e63700a2fa0be833d01e85"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.320968,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0a4835c2a3e63700a2fa0be833d01e85","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0a4835c2a3e63700a2fa0be833d01e85","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0a4835c2a3e63700a2fa0be833d01e85"} gateway-1 | {"time_local":"26/Aug/2024:15:03:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/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":"0a4835c2a3e63700a2fa0be833d01e85"} device-1 | {"level":"info","message":"POST /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/websocket 200 22ms","method":"POST","requestID":"0a4835c2a3e63700a2fa0be833d01e85","responseTime":22,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40","level":"info","message":"auth send jwt","requestID":"eca05b1d9e8d3076f1191dbf05890a85"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"eca05b1d9e8d3076f1191dbf05890a85","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eca05b1d9e8d3076f1191dbf05890a85"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.855998,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"eca05b1d9e8d3076f1191dbf05890a85","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eca05b1d9e8d3076f1191dbf05890a85","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.279447235Z"}]},"request_id":"ebcc6c74-7ac9-43aa-a4f8-564c8e7349e5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.3856187} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"eca05b1d9e8d3076f1191dbf05890a85","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eca05b1d9e8d3076f1191dbf05890a85"} device-1 | {"level":"info","message":"GET /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8? 200 16ms","method":"GET","requestID":"eca05b1d9e8d3076f1191dbf05890a85","responseTime":16,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eca05b1d9e8d3076f1191dbf05890a85"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40","level":"info","message":"auth send jwt","requestID":"dd19c700699e7ae833991af577ecf7f3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dd19c700699e7ae833991af577ecf7f3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dd19c700699e7ae833991af577ecf7f3"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.279923,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dd19c700699e7ae833991af577ecf7f3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dd19c700699e7ae833991af577ecf7f3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.330364462Z"}]},"request_id":"e1440cba-5e9a-48e9-916b-2d6db6635fe0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.4099045} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dd19c700699e7ae833991af577ecf7f3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dd19c700699e7ae833991af577ecf7f3"} gateway-1 | {"time_local":"26/Aug/2024:15:03:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dd19c700699e7ae833991af577ecf7f3"} device-1 | {"level":"info","message":"GET /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c? 200 22ms","method":"GET","requestID":"dd19c700699e7ae833991af577ecf7f3","responseTime":22,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40","level":"info","message":"auth send jwt","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"6f67c7f0e1c45b5575888c1b73f3041f","responseTime":8,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.304688,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6f67c7f0e1c45b5575888c1b73f3041f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6f67c7f0e1c45b5575888c1b73f3041f","responseTime":9,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Attempting to run experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Attempting to book experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully booked experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4932c440-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"49331260-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.642443,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4932c440-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4932c440-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.675482,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"49331260-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"49331260-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.279447235Z"}]},"request_id":"93f4dc86-4d80-4cbf-aef7-f3f1fbe4826f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.4933453} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4932c440-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.330364462Z"}]},"request_id":"ce8dba08-f847-4487-954f-18eaec6ae001","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.493874} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"49331260-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4932c440-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8? 200 16ms","method":"GET","requestID":"4932c440-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"49331260-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c? 200 16ms","method":"GET","requestID":"49331260-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Setting up experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully set up experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"493dc0c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"493e0ee0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully running experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"493e35f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.704207,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"493dc0c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"493dc0c0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.641559,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"493e0ee0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"493e0ee0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.013582,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4e42bd2f-1034-4b2e-96dc-1541208e2906","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.5667942} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"493e35f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","rebac_allow":false,"scope_allow":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":"493e35f0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.279447235Z"}]},"request_id":"924c0158-b37d-4d35-a66c-d30a9bfb90ca","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.5685346} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.330364462Z"}]},"request_id":"aa5ba5ef-efcc-4d55-8b88-bb34c905f7cd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.569412} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"493dc0c0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"493e0ee0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"493e35f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling 200 16ms","method":"POST","requestID":"493e35f0-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"493dc0c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8? 200 20ms","method":"GET","requestID":"493dc0c0-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4940f510-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"493e0ee0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c? 200 21ms","method":"GET","requestID":"493e0ee0-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"49419150-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3f0500f5-104c-440e-8e9f-29d230b73ed0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.5819337} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.823746,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4940f510-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","rebac_allow":false,"scope_allow":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":"4940f510-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0271905-3087-471c-852b-1d6816c7e095","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.5854664} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.594249,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"49419150-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","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":"4940f510-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling 200 10ms","method":"POST","requestID":"4940f510-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"49419150-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"49419150-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling 200 9ms","method":"POST","requestID":"49419150-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"49433f00-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6b771524-d153-4879-a59a-d76b923e3dda","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.5966628} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.384119,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"49433f00-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"49433f00-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"49433f00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling 200 9ms","method":"POST","requestID":"49433f00-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Building connection plan","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} 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":"152a9752-211f-4e03-9c9a-3a00f04f03ab"},{"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":"d73a0c3c-e2b7-4cd7-848b-35d9cde6eed8"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"0f661fa2-bf78-4cc5-9576-8741a6168a0f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.785898,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3e46e550-d1db-4e87-a82d-83f57b154816#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3e46e550-d1db-4e87-a82d-83f57b154816","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"208d32d4-3dba-4853-9d22-13b26ccdc615","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.662553} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca6357af-2867-4ca2-9b1c-0d4d0b974dea","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.6630974} authorization-1 | {"level":"info","message":"POST /relations/update 200 105ms","method":"POST","requestID":"6f67c7f0e1c45b5575888c1b73f3041f","responseTime":105,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"2d6febf1-e7c6-4c3e-8489-d2ab0fee65ee","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.6649163} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"859d08fe-471a-451e-add6-e3a39ab12fe1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.6705716} authorization-1 | {"level":"info","message":"POST /relations/update 200 61ms","method":"POST","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b","responseTime":61,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} gateway-1 | {"time_local":"26/Aug/2024:15:03:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.255","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} experiment-1 | {"level":"info","message":"POST /experiments? 201 245ms","method":"POST","requestID":"6f67c7f0e1c45b5575888c1b73f3041f","responseTime":245,"status":201,"url":"/experiments?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40","level":"info","message":"auth send jwt","requestID":"5fb537dec0522808bdb0790bf2132259"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5fb537dec0522808bdb0790bf2132259","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fb537dec0522808bdb0790bf2132259"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37'","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37'","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.05552,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 88ms","method":"POST","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b","responseTime":88,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5fb537dec0522808bdb0790bf2132259","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5fb537dec0522808bdb0790bf2132259","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"494513c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.279447235Z"}]},"request_id":"2f8ae2b3-d16b-498a-8eec-6f5d3b3d8e4e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.6982915} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5fb537dec0522808bdb0790bf2132259","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fb537dec0522808bdb0790bf2132259"} device-1 | {"level":"info","message":"GET /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8? 200 17ms","method":"GET","requestID":"5fb537dec0522808bdb0790bf2132259","responseTime":17,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5fb537dec0522808bdb0790bf2132259"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37","device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40","level":"info","message":"auth send jwt","requestID":"176f1f32a89f2f3146981983aea7789e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"176f1f32a89f2f3146981983aea7789e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"176f1f32a89f2f3146981983aea7789e"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.874822,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"176f1f32a89f2f3146981983aea7789e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684580,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4MH0.jsGkHC95JHWefVUeJGRH9-yd6cgkcQmPh6lfD0SJA40"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"176f1f32a89f2f3146981983aea7789e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:02:58.330364462Z"}]},"request_id":"b2288036-6870-4329-90b9-25f680d4d80c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.7193742} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"176f1f32a89f2f3146981983aea7789e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"176f1f32a89f2f3146981983aea7789e"} gateway-1 | {"time_local":"26/Aug/2024:15:03:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"176f1f32a89f2f3146981983aea7789e"} device-1 | {"level":"info","message":"GET /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c? 200 12ms","method":"GET","requestID":"176f1f32a89f2f3146981983aea7789e","responseTime":12,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6f67c7f0e1c45b5575888c1b73f3041f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4957ff80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15809dec-329e-4576-86e3-637d58c88d44","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.7338626} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.897951,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4957ff80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4957ff80-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4957ff80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling 200 10ms","method":"POST","requestID":"4957ff80-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4959d440-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bd7c592e-91ff-4ffa-9f19-1733f6794113","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684580.7444007} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.360048,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4959d440-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4959d440-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4959d440-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling 200 8ms","method":"POST","requestID":"4959d440-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling"} device-1 | {"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"71c9e84d-e47f-4ad2-add0-c41e5fc49d37","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 8094300567010010286 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:ZY0K\r\na=ice-pwd:H5e0lmLMSfWx4i2QlNiP67bZ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 28:08:B4:6D:D1:8E:44:F2:DB:46:98:2C:BC:E6:81:89:43:B2:1C:AF:D0:B9:32:44:11:F4:B2:25:DA:25:0C:93\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:4212860892 1 udp 2113937151 148d2f0d-26b1-4321-afb1-0aa292e54d1f.local 55394 typ host generation 0 ufrag ZY0K network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2134265251 1 udp 1677729535 141.24.211.56 55394 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag ZY0K network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","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/71c9e84d-e47f-4ad2-add0-c41e5fc49d37' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"71c9e84d-e47f-4ad2-add0-c41e5fc49d37","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3c722cb4ac7fb18fa734d01098455d64","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/9748c88a-ab0f-4231-8b6b-d37f54861bf8'"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3c722cb4ac7fb18fa734d01098455d64","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37"}}},"level":"info","message":"received a callback","requestID":"3c722cb4ac7fb18fa734d01098455d64"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"3c722cb4ac7fb18fa734d01098455d64","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"3c722cb4ac7fb18fa734d01098455d64"} device-1 | {"data":{"peerconnection":"71c9e84d-e47f-4ad2-add0-c41e5fc49d37","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"71c9e84d-e47f-4ad2-add0-c41e5fc49d37","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","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/71c9e84d-e47f-4ad2-add0-c41e5fc49d37' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"71c9e84d-e47f-4ad2-add0-c41e5fc49d37","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e7e493d6d9fac9552f6cc6daa02d2cbf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"e7e493d6d9fac9552f6cc6daa02d2cbf","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37"}}},"level":"info","message":"received a callback","requestID":"e7e493d6d9fac9552f6cc6daa02d2cbf"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"4aa280e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F71c9e84d-e47f-4ad2-add0-c41e5fc49d37","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7ee3af54-b22b-4c4d-ae5d-fc7af89afd34","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684582.900558} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.766387,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4aa280e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37","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":"4aa280e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"4aa280e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37 200 13ms","method":"GET","requestID":"4aa280e0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 45ms","method":"POST","requestID":"e7e493d6d9fac9552f6cc6daa02d2cbf","responseTime":45,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"e7e493d6d9fac9552f6cc6daa02d2cbf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4aa7ff20-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"064163d5-e12c-4bcb-b9ee-31683fdacc81","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684582.9378138} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.486376,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4aa7ff20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","rebac_allow":false,"scope_allow":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":"4aa7ff20-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4aa7ff20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling 200 16ms","method":"POST","requestID":"4aa7ff20-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4aaae550-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3e9eb3ee-27c4-4c55-920c-82e687d20119","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684582.9565322} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.947268,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4aaae550-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","rebac_allow":false,"scope_allow":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":"4aaae550-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4aaae550-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling 200 15ms","method":"POST","requestID":"4aaae550-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4Mn0.MNt9rH1VEZUnPBXGzE7Vt6MExfqIlHmLSOWqUec6CmE","level":"info","message":"auth send jwt","requestID":"eab2be4e271d61e995fa0b2a73165d1f"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"eab2be4e271d61e995fa0b2a73165d1f","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/3e46e550-d1db-4e87-a82d-83f57b154816","requestID":"eab2be4e271d61e995fa0b2a73165d1f"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.61317,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"eab2be4e271d61e995fa0b2a73165d1f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684582,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4Mn0.MNt9rH1VEZUnPBXGzE7Vt6MExfqIlHmLSOWqUec6CmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eab2be4e271d61e995fa0b2a73165d1f","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/3e46e550-d1db-4e87-a82d-83f57b154816","requestID":"eab2be4e271d61e995fa0b2a73165d1f"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/3e46e550-d1db-4e87-a82d-83f57b154816 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eab2be4e271d61e995fa0b2a73165d1f"} experiment-1 | {"level":"info","message":"GET /experiments/3e46e550-d1db-4e87-a82d-83f57b154816 200 17ms","method":"GET","requestID":"eab2be4e271d61e995fa0b2a73165d1f","responseTime":17,"status":200,"url":"/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ","level":"info","message":"auth send jwt","requestID":"dfb27d03d68d052878883c4206b5bc67"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dfb27d03d68d052878883c4206b5bc67","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/3e46e550-d1db-4e87-a82d-83f57b154816","requestID":"dfb27d03d68d052878883c4206b5bc67"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.310674,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dfb27d03d68d052878883c4206b5bc67","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684583,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dfb27d03d68d052878883c4206b5bc67","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Attempting to finish experiment","requestID":"dfb27d03d68d052878883c4206b5bc67"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"4ab76870-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.139939,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4ab76870-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684583,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4ab76870-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37","device":"9748c88a-ab0f-4231-8b6b-d37f54861bf8","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"18b26278-0dac-42a6-978f-5d74cdb1d39c","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/71c9e84d-e47f-4ad2-add0-c41e5fc49d37' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"71c9e84d-e47f-4ad2-add0-c41e5fc49d37","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9bf28cd8b8af953fcdca521fea5bb339","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F71c9e84d-e47f-4ad2-add0-c41e5fc49d37': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F71c9e84d-e47f-4ad2-add0-c41e5fc49d37","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"6d167a18-9ede-49f3-a17c-058245b05c84","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.0605836} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9bf28cd8b8af953fcdca521fea5bb339","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6710dea930e9c3a3f1f0f5bedf92d4be","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37"}}},"level":"info","message":"received a callback","requestID":"9bf28cd8b8af953fcdca521fea5bb339"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1e9e02ae-fdfb-459b-9a6a-fd443e34d3a4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.0614038} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6710dea930e9c3a3f1f0f5bedf92d4be","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"4ab76870-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37"}}},"level":"info","message":"received a callback","requestID":"6710dea930e9c3a3f1f0f5bedf92d4be"} device-1 | {"data":{"peerconnection":"71c9e84d-e47f-4ad2-add0-c41e5fc49d37","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"4ab76870-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37 204 55ms","method":"DELETE","requestID":"4ab76870-63bc-11ef-bd85-dbaeea89054b","responseTime":55,"status":204,"url":"/peerconnections/71c9e84d-e47f-4ad2-add0-c41e5fc49d37"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"},"level":"info","message":"Successfully finished experiment","requestID":"dfb27d03d68d052878883c4206b5bc67"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4ac30130-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9748c88a-ab0f-4231-8b6b-d37f54861bf8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2352cba1-39c7-47bc-a478-23507923b8b0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.1133587} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.348831,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4ac30130-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8","object_type":"device","rebac_allow":false,"scope_allow":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":"4ac30130-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4ac30130-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling 200 13ms","method":"POST","requestID":"4ac30130-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4ac57230-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3e46e550-d1db-4e87-a82d-83f57b154816': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F3e46e550-d1db-4e87-a82d-83f57b154816","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"eee46af7-21e6-4385-87c9-d852bb5d0c28","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.1234965} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2617ebe8-2032-48fb-af43-fd871c5a63af","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.1240456} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"dfb27d03d68d052878883c4206b5bc67","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18b26278-0dac-42a6-978f-5d74cdb1d39c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"80dcc9d8-4a27-4da5-b31e-1123583fefd4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.1293368} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.14063,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4ac57230-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c","object_type":"device","rebac_allow":false,"scope_allow":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":"4ac57230-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4ac57230-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling 200 13ms","method":"POST","requestID":"4ac57230-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/3e46e550-d1db-4e87-a82d-83f57b154816","requestID":"dfb27d03d68d052878883c4206b5bc67"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/3e46e550-d1db-4e87-a82d-83f57b154816 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":"dfb27d03d68d052878883c4206b5bc67"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2837","request_time":"4.307","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d9c89f16ead3268f4fcbcbf91e160e5a"} experiment-1 | {"level":"info","message":"DELETE /experiments/3e46e550-d1db-4e87-a82d-83f57b154816 204 181ms","method":"DELETE","requestID":"dfb27d03d68d052878883c4206b5bc67","responseTime":181,"status":204,"url":"/experiments/3e46e550-d1db-4e87-a82d-83f57b154816"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"9bf28cd8b8af953fcdca521fea5bb339","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"9bf28cd8b8af953fcdca521fea5bb339"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"6710dea930e9c3a3f1f0f5bedf92d4be","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"6710dea930e9c3a3f1f0f5bedf92d4be"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ","level":"info","message":"auth send jwt","requestID":"be3dc140b72fe6da765024c26e8d77e1"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"be3dc140b72fe6da765024c26e8d77e1","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"be3dc140b72fe6da765024c26e8d77e1"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.773631,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/18b26278-0dac-42a6-978f-5d74cdb1d39c' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"be3dc140b72fe6da765024c26e8d77e1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684583,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"be3dc140b72fe6da765024c26e8d77e1","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2747","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":"f2c40802eb452dac502a3c309c7fab5b"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9748c88a-ab0f-4231-8b6b-d37f54861bf8' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"593bd9d2-4f7f-41fc-9361-893d2dd1202a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2252972} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"be3dc140b72fe6da765024c26e8d77e1","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d4a80c16-edf7-4830-87bb-8c6fca5ec33d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2307305} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"be3dc140b72fe6da765024c26e8d77e1","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"50f93a0f-7ed5-45f3-afdf-e091d1e34cc6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2403724} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"81f1c6a4-0370-4fec-b22f-8a7380df6b79","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2405918} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"be3dc140b72fe6da765024c26e8d77e1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.240330805Z"}]},"request_id":"6589f87d-2e75-4908-a595-d5fc1773d0c8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2457967} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"be3dc140b72fe6da765024c26e8d77e1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"be3dc140b72fe6da765024c26e8d77e1"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"be3dc140b72fe6da765024c26e8d77e1","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"be3dc140b72fe6da765024c26e8d77e1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ","level":"info","message":"auth send jwt","requestID":"5e386afbbce8094e3f7b40dbf4f64465"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5e386afbbce8094e3f7b40dbf4f64465","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5e386afbbce8094e3f7b40dbf4f64465"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.767844,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5e386afbbce8094e3f7b40dbf4f64465","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684583,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5e386afbbce8094e3f7b40dbf4f64465","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"340a5900-fa8e-4c93-8bca-beb47e392889","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2683294} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5e386afbbce8094e3f7b40dbf4f64465","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0bc2fee6-9315-4d51-bf34-bd68186f0638","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2726266} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5e386afbbce8094e3f7b40dbf4f64465","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"68f80051-3247-4590-86ef-14c39d763ab9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2890985} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a302c3bb-e609-4425-b7cf-6afb08da53d3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2893734} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"5e386afbbce8094e3f7b40dbf4f64465","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.289063269Z"}]},"request_id":"e46756f9-8522-4a73-b590-cfba9047bc48","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.2932484} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5e386afbbce8094e3f7b40dbf4f64465","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5e386afbbce8094e3f7b40dbf4f64465"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"5e386afbbce8094e3f7b40dbf4f64465","responseTime":42,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5e386afbbce8094e3f7b40dbf4f64465"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ","level":"info","message":"auth send jwt","requestID":"5c1b7704d1f11b5d84347136ac29b9f1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5c1b7704d1f11b5d84347136ac29b9f1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5c1b7704d1f11b5d84347136ac29b9f1"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.304764,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c1b7704d1f11b5d84347136ac29b9f1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684583,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5c1b7704d1f11b5d84347136ac29b9f1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.240330805Z"}]},"request_id":"cd5e2891-c166-4279-9e15-184ed8c5185a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.792343} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5c1b7704d1f11b5d84347136ac29b9f1","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ffd08513-e1fb-4876-af02-db2826b56b42","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.7971492} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5c1b7704d1f11b5d84347136ac29b9f1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.240330805Z"}]},"request_id":"c1f1b862-fde2-4684-88bf-d9de39c1ecca","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684583.8104231} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5c1b7704d1f11b5d84347136ac29b9f1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5c1b7704d1f11b5d84347136ac29b9f1"} device-1 | {"level":"info","message":"PATCH /devices/4df0a841-fa75-424b-a435-8063e0bdddd7 200 33ms","method":"PATCH","requestID":"5c1b7704d1f11b5d84347136ac29b9f1","responseTime":33,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4df0a841-fa75-424b-a435-8063e0bdddd7 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5c1b7704d1f11b5d84347136ac29b9f1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ","level":"info","message":"auth send jwt","requestID":"78c2deb20805549926f643211ba3641c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"78c2deb20805549926f643211ba3641c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"78c2deb20805549926f643211ba3641c"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.365371,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"78c2deb20805549926f643211ba3641c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684583,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4M30.JPOOM_tFIAjlDu0zIZDqFw3t6sMMI27EUnnTR68hOmQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"78c2deb20805549926f643211ba3641c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"78c2deb20805549926f643211ba3641c"} gateway-1 | {"time_local":"26/Aug/2024:15:03:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4df0a841-fa75-424b-a435-8063e0bdddd7/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"78c2deb20805549926f643211ba3641c"} device-1 | {"level":"info","message":"POST /devices/4df0a841-fa75-424b-a435-8063e0bdddd7/websocket 200 21ms","method":"POST","requestID":"78c2deb20805549926f643211ba3641c","responseTime":21,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1732c22491063dac0767d11c240e56f2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"1732c22491063dac0767d11c240e56f2","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/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":"1732c22491063dac0767d11c240e56f2"} device-1 | {"level":"info","message":"OPTIONS /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/websocket 200 2ms","method":"OPTIONS","requestID":"1732c22491063dac0767d11c240e56f2","responseTime":2,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s","level":"info","message":"auth send jwt","requestID":"b5fd3503c4e9aa53be200069456bc74e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b5fd3503c4e9aa53be200069456bc74e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b5fd3503c4e9aa53be200069456bc74e"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.186071,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b5fd3503c4e9aa53be200069456bc74e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b5fd3503c4e9aa53be200069456bc74e","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b5fd3503c4e9aa53be200069456bc74e"} gateway-1 | {"time_local":"26/Aug/2024:15:03:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/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":"b5fd3503c4e9aa53be200069456bc74e"} device-1 | {"level":"info","message":"POST /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/websocket 200 22ms","method":"POST","requestID":"b5fd3503c4e9aa53be200069456bc74e","responseTime":22,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s","level":"info","message":"auth send jwt","requestID":"2bf56c9091aef574b33f09f5580b76d2"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"2bf56c9091aef574b33f09f5580b76d2","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2bf56c9091aef574b33f09f5580b76d2"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.262434,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2bf56c9091aef574b33f09f5580b76d2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2bf56c9091aef574b33f09f5580b76d2","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.240330805Z"}]},"request_id":"2ccf52b1-2940-4ea8-9ec7-82859dcb7470","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.3560586} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2bf56c9091aef574b33f09f5580b76d2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2bf56c9091aef574b33f09f5580b76d2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4df0a841-fa75-424b-a435-8063e0bdddd7? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2bf56c9091aef574b33f09f5580b76d2"} device-1 | {"level":"info","message":"GET /devices/4df0a841-fa75-424b-a435-8063e0bdddd7? 200 18ms","method":"GET","requestID":"2bf56c9091aef574b33f09f5580b76d2","responseTime":18,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s","level":"info","message":"auth send jwt","requestID":"ca8257113f83aa1cc0ed0f06256b0057"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ca8257113f83aa1cc0ed0f06256b0057","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ca8257113f83aa1cc0ed0f06256b0057"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.219448,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ca8257113f83aa1cc0ed0f06256b0057","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ca8257113f83aa1cc0ed0f06256b0057","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.289063269Z"}]},"request_id":"0cff3b4a-aa46-401e-9cb2-ce7e56017c36","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.383687} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ca8257113f83aa1cc0ed0f06256b0057","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ca8257113f83aa1cc0ed0f06256b0057"} gateway-1 | {"time_local":"26/Aug/2024:15:03:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2712e692-5f9b-40f4-b0de-5f4c466361df? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ca8257113f83aa1cc0ed0f06256b0057"} device-1 | {"level":"info","message":"GET /devices/2712e692-5f9b-40f4-b0de-5f4c466361df? 200 21ms","method":"GET","requestID":"ca8257113f83aa1cc0ed0f06256b0057","responseTime":21,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s","level":"info","message":"auth send jwt","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"39fb93d80eff7eb84f5179b3c54da2fb","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.311736,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"39fb93d80eff7eb84f5179b3c54da2fb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"39fb93d80eff7eb84f5179b3c54da2fb","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Attempting to run experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Attempting to book experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully booked experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4c283680-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4c285d90-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.332295,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c283680-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4c283680-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.415959,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c285d90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4c285d90-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.240330805Z"}]},"request_id":"525562f0-3926-4bbb-8219-a8da8e41f23c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.459458} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4c283680-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.289063269Z"}]},"request_id":"a50b9ef8-53ba-464f-8159-06a54aee49fb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.4608526} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4c285d90-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4c283680-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/4df0a841-fa75-424b-a435-8063e0bdddd7? 200 18ms","method":"GET","requestID":"4c283680-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4c285d90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/2712e692-5f9b-40f4-b0de-5f4c466361df? 200 18ms","method":"GET","requestID":"4c285d90-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Setting up experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully locked booking for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Attempting to update booking for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully updated booking for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully set up experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4c341d60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4c346b80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c34b9a0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully running experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.842203,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c341d60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4c341d60-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.940023,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c346b80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"4c346b80-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0cf34b39-69b4-469f-b655-02bf9e82be16","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.5391295} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.254618,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c34b9a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","rebac_allow":false,"scope_allow":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":"4c34b9a0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.240330805Z"}]},"request_id":"d23eefae-9016-4e56-a1fd-7f5464029ae9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.5415604} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"4c341d60-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.289063269Z"}]},"request_id":"90d43555-9cd3-4b73-8a0e-b106e47633e4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.545395} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4c346b80-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c34b9a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling 200 18ms","method":"POST","requestID":"4c34b9a0-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c37edf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4c341d60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/4df0a841-fa75-424b-a435-8063e0bdddd7? 200 28ms","method":"GET","requestID":"4c341d60-63bc-11ef-bd85-dbaeea89054b","responseTime":28,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4c346b80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/2712e692-5f9b-40f4-b0de-5f4c466361df? 200 27ms","method":"GET","requestID":"4c346b80-63bc-11ef-bd85-dbaeea89054b","responseTime":27,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd23f236a-10f3-4cdb-a272-2ab5d6e89109#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd23f236a-10f3-4cdb-a272-2ab5d6e89109","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"010632a6-f688-403a-bbd4-4c7e6f9e087f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.555935} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c24dcdd9-325c-4c77-8ddc-d4ec3563ad8c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.5562546} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c38ff60-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"39fb93d80eff7eb84f5179b3c54da2fb","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2cb2b53c-b7f4-484b-be74-22c6eede2ccc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.559152} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.421335,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c37edf0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","rebac_allow":false,"scope_allow":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":"4c37edf0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"04f505ee-d857-4f74-a1e7-6626e7f43f6b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.564412} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.795625,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c37edf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling 200 15ms","method":"POST","requestID":"4c37edf0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c38ff60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","rebac_allow":false,"scope_allow":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":"4c38ff60-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.174","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"level":"info","message":"POST /experiments? 201 167ms","method":"POST","requestID":"39fb93d80eff7eb84f5179b3c54da2fb","responseTime":167,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c38ff60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling 200 11ms","method":"POST","requestID":"4c38ff60-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c3afb30-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s","level":"info","message":"auth send jwt","requestID":"ac371e9b201872eb1221a0c281e2b8c2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ac371e9b201872eb1221a0c281e2b8c2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ac371e9b201872eb1221a0c281e2b8c2"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b88ed3b1-7e2f-40a7-b563-3d398b4b3028","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.5765479} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.067516,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c3afb30-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","rebac_allow":false,"scope_allow":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":"4c3afb30-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.800685,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ac371e9b201872eb1221a0c281e2b8c2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ac371e9b201872eb1221a0c281e2b8c2","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c3afb30-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling 200 11ms","method":"POST","requestID":"4c3afb30-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Building connection plan","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} 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":"40c2cc5c-adb9-4ddc-b603-e9f4f18a0869"},{"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":"211532d6-1473-41fd-963d-c74998a4aeb7"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"6661af82-ab2c-4965-b1ea-5fe728b5109d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.240330805Z"}]},"request_id":"3866a168-f0bb-49bf-9768-b50c037ab0fa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.5842078} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ac371e9b201872eb1221a0c281e2b8c2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.679496,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ac371e9b201872eb1221a0c281e2b8c2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4df0a841-fa75-424b-a435-8063e0bdddd7? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ac371e9b201872eb1221a0c281e2b8c2"} device-1 | {"level":"info","message":"GET /devices/4df0a841-fa75-424b-a435-8063e0bdddd7? 200 15ms","method":"GET","requestID":"ac371e9b201872eb1221a0c281e2b8c2","responseTime":15,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7?"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s","level":"info","message":"auth send jwt","requestID":"d6349156851f329c97d203e62c524e5b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d6349156851f329c97d203e62c524e5b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d6349156851f329c97d203e62c524e5b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.795324,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d6349156851f329c97d203e62c524e5b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684585,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4NX0.28Wu6sPYMhU0TiN_ugl0KummlqME4_1Rawv_RB5F5_s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d6349156851f329c97d203e62c524e5b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"7a0016a4-c708-4bf2-9831-7e084b116a41","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.5985787} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"36204566-0421-4c6d-b6bf-78aab70e3785","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.59903} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:03.289063269Z"}]},"request_id":"b5014c02-f11a-4f3a-8cd3-02c2ece8d37f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.6024392} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d6349156851f329c97d203e62c524e5b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73'","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73'","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 30ms","method":"POST","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b","responseTime":30,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d6349156851f329c97d203e62c524e5b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2712e692-5f9b-40f4-b0de-5f4c466361df? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d6349156851f329c97d203e62c524e5b"} device-1 | {"level":"info","message":"GET /devices/2712e692-5f9b-40f4-b0de-5f4c466361df? 200 22ms","method":"GET","requestID":"d6349156851f329c97d203e62c524e5b","responseTime":22,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"4c3d1e10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73","device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"39fb93d80eff7eb84f5179b3c54da2fb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c45d0a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45aac121-1157-425e-9eca-b7e68960f1bb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.6467123} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.700945,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c45d0a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4c45d0a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c45d0a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling 200 10ms","method":"POST","requestID":"4c45d0a0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4c47a560-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8916ceef-47b7-4b78-8e26-996b2c10e93e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684585.6580646} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.092136,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c47a560-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","rebac_allow":false,"scope_allow":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":"4c47a560-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4c47a560-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling 200 7ms","method":"POST","requestID":"4c47a560-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling"} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"85146c0c-b041-4711-bb5a-5b37aa2fdf73","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 1674028678742196589 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:v+GR\r\na=ice-pwd:Rka6JB4hnZ43IHgi7QP2yrov\r\na=ice-options:trickle\r\na=fingerprint:sha-256 50:C8:12:E4:03:95:AC:E8:59:61:66:DF:ED:D3:DF:A2:2C:E7:D4:10:B5:FF:B4:68:87:F2:E7:A4:0A:3F:93:04\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1047625710 1 udp 2113937151 268acc1f-aca5-400b-86dd-515cfd891f85.local 56800 typ host generation 0 ufrag v+GR network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2908413693 1 udp 1677729535 141.24.211.56 56800 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag v+GR network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","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/85146c0c-b041-4711-bb5a-5b37aa2fdf73' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"85146c0c-b041-4711-bb5a-5b37aa2fdf73","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","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/2712e692-5f9b-40f4-b0de-5f4c466361df'"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f28aeff7efd0aac8929067ad3dd76c87","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f28aeff7efd0aac8929067ad3dd76c87","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73"}}},"level":"info","message":"received a callback","requestID":"f28aeff7efd0aac8929067ad3dd76c87"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"f28aeff7efd0aac8929067ad3dd76c87","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"f28aeff7efd0aac8929067ad3dd76c87"} device-1 | {"data":{"peerconnection":"85146c0c-b041-4711-bb5a-5b37aa2fdf73","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"85146c0c-b041-4711-bb5a-5b37aa2fdf73","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2712e692-5f9b-40f4-b0de-5f4c466361df","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/85146c0c-b041-4711-bb5a-5b37aa2fdf73' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"85146c0c-b041-4711-bb5a-5b37aa2fdf73","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9f1d17abadc378bae4d94b5ad88b3fec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"9f1d17abadc378bae4d94b5ad88b3fec","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73"}}},"level":"info","message":"received a callback","requestID":"9f1d17abadc378bae4d94b5ad88b3fec"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"4d90c730-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F85146c0c-b041-4711-bb5a-5b37aa2fdf73","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8491fc3a-8b02-459d-bda7-7921c9032668","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684587.8183386} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.427922,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4d90c730-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73","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":"4d90c730-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"4d90c730-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73 200 13ms","method":"GET","requestID":"4d90c730-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 46ms","method":"POST","requestID":"9f1d17abadc378bae4d94b5ad88b3fec","responseTime":46,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.052","http_referrer":"","http_user_agent":"node-fetch","requestID":"9f1d17abadc378bae4d94b5ad88b3fec"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4d969390-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"95934f30-a8fc-47b8-94b2-6a2e19d95363","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684587.8587546} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.741963,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4d969390-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","rebac_allow":false,"scope_allow":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":"4d969390-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4d969390-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling 200 17ms","method":"POST","requestID":"4d969390-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4d99a0d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"156af0aa-0991-42ee-a54d-6ff99f6977ef","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684587.8764665} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.086437,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4d99a0d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","rebac_allow":false,"scope_allow":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":"4d99a0d0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4d99a0d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling 200 16ms","method":"POST","requestID":"4d99a0d0-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4N30.pyJHYwgxlnrzngYnM2SfJlPn9Mec4YeugprC9-Q6bDw","level":"info","message":"auth send jwt","requestID":"b441ceeac3e3cf03c13100e2e2377987"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b441ceeac3e3cf03c13100e2e2377987","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","requestID":"b441ceeac3e3cf03c13100e2e2377987"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.80408,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b441ceeac3e3cf03c13100e2e2377987","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684587,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4N30.pyJHYwgxlnrzngYnM2SfJlPn9Mec4YeugprC9-Q6bDw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b441ceeac3e3cf03c13100e2e2377987","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","requestID":"b441ceeac3e3cf03c13100e2e2377987"} gateway-1 | {"time_local":"26/Aug/2024:15:03:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b441ceeac3e3cf03c13100e2e2377987"} experiment-1 | {"level":"info","message":"GET /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109 200 16ms","method":"GET","requestID":"b441ceeac3e3cf03c13100e2e2377987","responseTime":16,"status":200,"url":"/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4N30.pyJHYwgxlnrzngYnM2SfJlPn9Mec4YeugprC9-Q6bDw","level":"info","message":"auth send jwt","requestID":"64c40640d27bc398659e963bd511b68b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"64c40640d27bc398659e963bd511b68b","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","requestID":"64c40640d27bc398659e963bd511b68b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.185834,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"64c40640d27bc398659e963bd511b68b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684587,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4N30.pyJHYwgxlnrzngYnM2SfJlPn9Mec4YeugprC9-Q6bDw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"64c40640d27bc398659e963bd511b68b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Attempting to finish experiment","requestID":"64c40640d27bc398659e963bd511b68b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"4da51280-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.173504,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4da51280-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684587,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4N30.pyJHYwgxlnrzngYnM2SfJlPn9Mec4YeugprC9-Q6bDw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4da51280-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73","device":"2712e692-5f9b-40f4-b0de-5f4c466361df","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"4df0a841-fa75-424b-a435-8063e0bdddd7","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/85146c0c-b041-4711-bb5a-5b37aa2fdf73' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"85146c0c-b041-4711-bb5a-5b37aa2fdf73","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F85146c0c-b041-4711-bb5a-5b37aa2fdf73': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F85146c0c-b041-4711-bb5a-5b37aa2fdf73","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"6a3ccde1-65f9-40f6-ae4f-fa3c9a63c594","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684587.9700058} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c88df39e-7b9f-4c91-9d45-64396ba3adea","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684587.970573} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"4da51280-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1da1421cf3ea4f736f6e4c9b7cdf3fe7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"1da1421cf3ea4f736f6e4c9b7cdf3fe7","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73"}}},"level":"info","message":"received a callback","requestID":"1da1421cf3ea4f736f6e4c9b7cdf3fe7"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0df8f3b1b1b13a4575eb812ae330bd9a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0df8f3b1b1b13a4575eb812ae330bd9a","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73"}}},"level":"info","message":"received a callback","requestID":"0df8f3b1b1b13a4575eb812ae330bd9a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"4da51280-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73 204 49ms","method":"DELETE","requestID":"4da51280-63bc-11ef-bd85-dbaeea89054b","responseTime":49,"status":204,"url":"/peerconnections/85146c0c-b041-4711-bb5a-5b37aa2fdf73"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"},"level":"info","message":"Successfully finished experiment","requestID":"64c40640d27bc398659e963bd511b68b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4db03610-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2712e692-5f9b-40f4-b0de-5f4c466361df","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d0398dd-07e0-40da-a947-9143dda7a459","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.0236216} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.49828,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4db03610-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2712e692-5f9b-40f4-b0de-5f4c466361df","object_type":"device","rebac_allow":false,"scope_allow":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":"4db03610-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd23f236a-10f3-4cdb-a272-2ab5d6e89109': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd23f236a-10f3-4cdb-a272-2ab5d6e89109","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"cfabead7-c0cf-4110-9836-2e6d25f57e4b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.0289102} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4db03610-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/2712e692-5f9b-40f4-b0de-5f4c466361df/signaling 200 12ms","method":"POST","requestID":"4db03610-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/2712e692-5f9b-40f4-b0de-5f4c466361df/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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ba640475-ed5d-4c9a-b45b-c984ef9050f4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.0293803} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"64c40640d27bc398659e963bd511b68b","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4db2a710-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4df0a841-fa75-424b-a435-8063e0bdddd7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d54f7e56-9ed5-4c7f-8713-814695054f45","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.0395622} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.882028,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4db2a710-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4df0a841-fa75-424b-a435-8063e0bdddd7","object_type":"device","rebac_allow":false,"scope_allow":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":"4db2a710-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4db2a710-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling 200 13ms","method":"POST","requestID":"4db2a710-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/4df0a841-fa75-424b-a435-8063e0bdddd7/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109","requestID":"64c40640d27bc398659e963bd511b68b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.176","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"64c40640d27bc398659e963bd511b68b"} experiment-1 | {"level":"info","message":"DELETE /experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109 204 170ms","method":"DELETE","requestID":"64c40640d27bc398659e963bd511b68b","responseTime":170,"status":204,"url":"/experiments/d23f236a-10f3-4cdb-a272-2ab5d6e89109"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2839","request_time":"4.256","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c94b0a609d184135cbd099d3aa7f881e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"1da1421cf3ea4f736f6e4c9b7cdf3fe7","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","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":"1da1421cf3ea4f736f6e4c9b7cdf3fe7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"0df8f3b1b1b13a4575eb812ae330bd9a","responseTime":126,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","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":"0df8f3b1b1b13a4575eb812ae330bd9a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU","level":"info","message":"auth send jwt","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:08Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2745","request_time":"2.789","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"771f8d50a1315cf8985437a42408cb9d"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.276941,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684588,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","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/4df0a841-fa75-424b-a435-8063e0bdddd7' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ac2b87ba-ccc1-4559-ae6f-4df299f4b635","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1292706} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","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/2712e692-5f9b-40f4-b0de-5f4c466361df' 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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2cb7758e-21e6-4a69-b264-af7b2a5e354f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.134141} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"f79e7777-3e28-4807-889f-9781442e24f5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1428232} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cd800c83-fbb1-447a-850f-4b9d920b78cd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1430466} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.142803167Z"}]},"request_id":"144ea76f-51b7-4226-9e2c-650477484bf2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1470551} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d3eae3d2b4fa5336c85b53e17fdc4f60"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU","level":"info","message":"auth send jwt","requestID":"1d9933b899228fc121d97ad33d093165"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1d9933b899228fc121d97ad33d093165","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1d9933b899228fc121d97ad33d093165"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.696026,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1d9933b899228fc121d97ad33d093165","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684588,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1d9933b899228fc121d97ad33d093165","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7affedd7-c4be-40c5-921a-51757e5e64d3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1773837} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1d9933b899228fc121d97ad33d093165","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bdd243ac-4dda-42a7-aad0-287e068f9cbb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1819756} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"1d9933b899228fc121d97ad33d093165","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d5db2497-00a5-40c9-a95a-d28791e33cd0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1923764} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a1384354-53e1-4ad6-bac7-027c43714a45","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.1926138} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"1d9933b899228fc121d97ad33d093165","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.192353361Z"}]},"request_id":"b9b7a273-6127-40dc-af5e-cf871e7ff9fe","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.196186} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1d9933b899228fc121d97ad33d093165","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1d9933b899228fc121d97ad33d093165"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1d9933b899228fc121d97ad33d093165"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"1d9933b899228fc121d97ad33d093165","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU","level":"info","message":"auth send jwt","requestID":"409e5d979e827864ec3e080d320eb29f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"409e5d979e827864ec3e080d320eb29f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"409e5d979e827864ec3e080d320eb29f"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.170736,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"409e5d979e827864ec3e080d320eb29f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684588,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"409e5d979e827864ec3e080d320eb29f","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.142803167Z"}]},"request_id":"e5db7d7d-fef9-42b0-bc75-b4d53ff3f8bf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.6994493} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"409e5d979e827864ec3e080d320eb29f","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"779881ab-695f-4b3a-9f88-2b238d1737af","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.7074425} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"409e5d979e827864ec3e080d320eb29f","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.142803167Z"}]},"request_id":"7fbbb105-8af6-4eb9-a1c9-d7a9201a80ea","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684588.7208238} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"409e5d979e827864ec3e080d320eb29f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"409e5d979e827864ec3e080d320eb29f"} device-1 | {"level":"info","message":"PATCH /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc 200 39ms","method":"PATCH","requestID":"409e5d979e827864ec3e080d320eb29f","responseTime":39,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"409e5d979e827864ec3e080d320eb29f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU","level":"info","message":"auth send jwt","requestID":"6c8feaafbc1907901f50fa96c1917b42"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6c8feaafbc1907901f50fa96c1917b42","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6c8feaafbc1907901f50fa96c1917b42"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.415817,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6c8feaafbc1907901f50fa96c1917b42","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684588,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU4OH0.hNbFLjQ7KPbYMzO0Cd-VYQ7CCDkLZn3XbsuqFDAPaTU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c8feaafbc1907901f50fa96c1917b42","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6c8feaafbc1907901f50fa96c1917b42"} device-1 | {"level":"info","message":"POST /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/websocket 200 22ms","method":"POST","requestID":"6c8feaafbc1907901f50fa96c1917b42","responseTime":22,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6c8feaafbc1907901f50fa96c1917b42"} device-1 | {"level":"info","message":"device 'http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5f9787e94d8bc616e945ecd47c8f5d5d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5f9787e94d8bc616e945ecd47c8f5d5d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/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":"5f9787e94d8bc616e945ecd47c8f5d5d"} device-1 | {"level":"info","message":"OPTIONS /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/websocket 200 1ms","method":"OPTIONS","requestID":"5f9787e94d8bc616e945ecd47c8f5d5d","responseTime":1,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro","level":"info","message":"auth send jwt","requestID":"342b50c910213cb0242e960adb48c339"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"342b50c910213cb0242e960adb48c339","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"342b50c910213cb0242e960adb48c339"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.233826,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"342b50c910213cb0242e960adb48c339","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"342b50c910213cb0242e960adb48c339","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"342b50c910213cb0242e960adb48c339"} gateway-1 | {"time_local":"26/Aug/2024:15:03:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/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":"342b50c910213cb0242e960adb48c339"} device-1 | {"level":"info","message":"POST /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/websocket 200 22ms","method":"POST","requestID":"342b50c910213cb0242e960adb48c339","responseTime":22,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro","level":"info","message":"auth send jwt","requestID":"1fa37b3241bb7b95c66de4712a7d83a9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1fa37b3241bb7b95c66de4712a7d83a9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1fa37b3241bb7b95c66de4712a7d83a9"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.417259,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1fa37b3241bb7b95c66de4712a7d83a9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1fa37b3241bb7b95c66de4712a7d83a9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.142803167Z"}]},"request_id":"318b2eb0-5423-44b6-bda6-fe928de7503e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.2785795} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1fa37b3241bb7b95c66de4712a7d83a9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1fa37b3241bb7b95c66de4712a7d83a9"} device-1 | {"level":"info","message":"GET /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc? 200 22ms","method":"GET","requestID":"1fa37b3241bb7b95c66de4712a7d83a9","responseTime":22,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1fa37b3241bb7b95c66de4712a7d83a9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro","level":"info","message":"auth send jwt","requestID":"906156b58a8c6b192a995f292049f461"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"906156b58a8c6b192a995f292049f461","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"906156b58a8c6b192a995f292049f461"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.116394,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"906156b58a8c6b192a995f292049f461","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"906156b58a8c6b192a995f292049f461","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.192353361Z"}]},"request_id":"d432048f-d279-4242-8325-8bc8a4371486","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.3084981} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"906156b58a8c6b192a995f292049f461","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"906156b58a8c6b192a995f292049f461"} gateway-1 | {"time_local":"26/Aug/2024:15:03:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"906156b58a8c6b192a995f292049f461"} device-1 | {"level":"info","message":"GET /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056? 200 17ms","method":"GET","requestID":"906156b58a8c6b192a995f292049f461","responseTime":17,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro","level":"info","message":"auth send jwt","requestID":"0371c573ab6dfaa1739bae80e34f25de"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0371c573ab6dfaa1739bae80e34f25de","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"0371c573ab6dfaa1739bae80e34f25de"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.415912,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0371c573ab6dfaa1739bae80e34f25de","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0371c573ab6dfaa1739bae80e34f25de","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Attempting to run experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Attempting to book experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully booked experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4f16caf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4f171910-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.28415,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f16caf0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4f16caf0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.782482,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f171910-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4f171910-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.142803167Z"}]},"request_id":"6d42721c-8a53-465e-9cfb-6d3c94ad8db3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.3810582} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4f16caf0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.192353361Z"}]},"request_id":"b7fcb872-4331-4f00-9069-528ab665ccc3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.3821936} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4f171910-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4f16caf0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc? 200 22ms","method":"GET","requestID":"4f16caf0-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4f171910-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056? 200 21ms","method":"GET","requestID":"4f171910-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Setting up experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully locked booking for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Attempting to update booking for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully updated booking for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully set up experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4f217950-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4f21ee80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f223ca0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully running experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.948694,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f217950-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f217950-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.710372,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f21ee80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"4f21ee80-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c437f18e-61f5-4845-b98a-2eb1967a833d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4495628} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.076408,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f223ca0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","rebac_allow":false,"scope_allow":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":"4f223ca0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.142803167Z"}]},"request_id":"bfc3e8ac-8069-4a65-b7cc-00dcb3278521","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4515395} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"4f217950-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.192353361Z"}]},"request_id":"51888b54-0048-4d34-be9a-4156c3171977","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4549813} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4f21ee80-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f223ca0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling 200 15ms","method":"POST","requestID":"4f223ca0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9936a63f-d547-4b7a-bcaf-814a0465d009#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9936a63f-d547-4b7a-bcaf-814a0465d009","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"b702c105-0509-4875-be4b-5497badddbd8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4609144} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f2522d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2ed4ca49-52a2-4309-beae-614203213605","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4612129} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"0371c573ab6dfaa1739bae80e34f25de","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4f217950-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc? 200 25ms","method":"GET","requestID":"4f217950-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc?"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4f21ee80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056? 200 24ms","method":"GET","requestID":"4f21ee80-63bc-11ef-bd85-dbaeea89054b","responseTime":24,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3d7e71fa-ea76-4731-a9d5-6ad2aa554474","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4658027} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.660194,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f2522d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f2522d0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f265b50-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"level":"info","message":"POST /experiments? 201 148ms","method":"POST","requestID":"0371c573ab6dfaa1739bae80e34f25de","responseTime":148,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f2522d0-63bc-11ef-bd85-dbaeea89054b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0371c573ab6dfaa1739bae80e34f25de"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} device-1 | {"level":"info","message":"POST /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling 200 12ms","method":"POST","requestID":"4f2522d0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e7bea4c7-eb64-4c83-8c47-576ab8131f2b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4735925} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.626671,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f265b50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","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.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro","level":"info","message":"auth send jwt","requestID":"34cf364abbca5d850b2f75a772547742"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f265b50-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"34cf364abbca5d850b2f75a772547742","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34cf364abbca5d850b2f75a772547742"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f265b50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling 200 10ms","method":"POST","requestID":"4f265b50-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.839648,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"34cf364abbca5d850b2f75a772547742","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"34cf364abbca5d850b2f75a772547742","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f283010-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.142803167Z"}]},"request_id":"73acbc96-2ebd-4893-a4ae-7a0226cecd86","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4852185} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aca1e1c1-11d5-43f8-87cd-6e69e0e6ba13","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.4853363} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"34cf364abbca5d850b2f75a772547742","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.218052,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f283010-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f283010-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34cf364abbca5d850b2f75a772547742"} gateway-1 | {"time_local":"26/Aug/2024:15:03:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"34cf364abbca5d850b2f75a772547742"} device-1 | {"level":"info","message":"GET /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc? 200 13ms","method":"GET","requestID":"34cf364abbca5d850b2f75a772547742","responseTime":13,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f283010-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling 200 9ms","method":"POST","requestID":"4f283010-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Building connection plan","requestID":"0371c573ab6dfaa1739bae80e34f25de"} 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":"a29fe4a9-67d1-4285-a772-e6de718cdd75"},{"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":"381d853c-1d18-4d0a-ac99-5298b2ec2174"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"98f0ec86-3f70-4093-9874-699627b21510"}]},"level":"info","message":"Built pairwise service configurations","requestID":"0371c573ab6dfaa1739bae80e34f25de"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"0371c573ab6dfaa1739bae80e34f25de"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro","level":"info","message":"auth send jwt","requestID":"f26aebcd7be76ab9200db2187b9b2247"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f26aebcd7be76ab9200db2187b9b2247","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f26aebcd7be76ab9200db2187b9b2247"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.87775,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.608779,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f26aebcd7be76ab9200db2187b9b2247","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684590,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5MH0.GhNaN5OR2l7w8oD8mGjyir2QhAbj-K2hz3Xp4eAb1Ro"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f26aebcd7be76ab9200db2187b9b2247","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:08.192353361Z"}]},"request_id":"11afbc53-7e7a-4e6d-a04c-e09f4e653ed4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.5025735} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f26aebcd7be76ab9200db2187b9b2247","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f26aebcd7be76ab9200db2187b9b2247"} gateway-1 | {"time_local":"26/Aug/2024:15:03:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f26aebcd7be76ab9200db2187b9b2247"} device-1 | {"level":"info","message":"GET /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056? 200 11ms","method":"GET","requestID":"f26aebcd7be76ab9200db2187b9b2247","responseTime":11,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"76153e27-6f7d-48c7-bc5f-8d1139e25611","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.5069907} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dbb124f4-cdc6-4b72-b057-b526765295ef","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.5078256} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4'","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4'","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b"} 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":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b","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":"4f2a2be0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4","device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"0371c573ab6dfaa1739bae80e34f25de"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f329050-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a7f49f95-bc95-4143-b8fa-f85a9e96d7c7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.5539336} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.401851,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f329050-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4f329050-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f329050-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling 200 8ms","method":"POST","requestID":"4f329050-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"4f3416f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45bc43d6-1d8e-4da6-95aa-eb5c7417f24f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684590.5642715} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.331799,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4f3416f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4f3416f0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 2793233703626095582 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:PA2H\r\na=ice-pwd:WslAexZzrghIEfw5iipFSq87\r\na=ice-options:trickle\r\na=fingerprint:sha-256 93:F4:5E:C4:0B:4F:82:01:11:EA:E7:2A:4D:47:FA:46:AB:11:AA:C3:15:AA:91:76:00:D6:CE:5B:D5:EC:3C:A0\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"4f3416f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling 200 12ms","method":"POST","requestID":"4f3416f0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056'"} device-1 | {"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"32ef94ad-19e6-453d-9d20-4a9b47781fa4","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/32ef94ad-19e6-453d-9d20-4a9b47781fa4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"32ef94ad-19e6-453d-9d20-4a9b47781fa4","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"290ec06d824a11cffe36851abc762c66","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"290ec06d824a11cffe36851abc762c66","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4"}}},"level":"info","message":"received a callback","requestID":"290ec06d824a11cffe36851abc762c66"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"290ec06d824a11cffe36851abc762c66","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"290ec06d824a11cffe36851abc762c66"} device-1 | {"content":{"candidate":"candidate:597988022 1 udp 2113937151 5d2e872a-4508-4238-88cc-84e2635f5970.local 40907 typ host generation 0 ufrag PA2H network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2810837193 1 udp 1677729535 141.24.211.56 40907 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag PA2H network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4102309698 1 udp 33562623 141.24.210.113 54352 typ relay raddr 141.24.211.56 rport 40907 generation 0 ufrag PA2H network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","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/45cc2968-fd95-49ac-a9ea-fe27a7ee4056'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056'"} device-1 | {"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"peerconnection":"32ef94ad-19e6-453d-9d20-4a9b47781fa4","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"32ef94ad-19e6-453d-9d20-4a9b47781fa4","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/32ef94ad-19e6-453d-9d20-4a9b47781fa4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"32ef94ad-19e6-453d-9d20-4a9b47781fa4","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fe474196ce31f61881d910db55dccfa6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fe474196ce31f61881d910db55dccfa6","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4"}}},"level":"info","message":"received a callback","requestID":"fe474196ce31f61881d910db55dccfa6"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"50791a10-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F32ef94ad-19e6-453d-9d20-4a9b47781fa4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"441158c7-6fde-4ac5-b41a-390b2332c034","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.6946762} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.018227,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"50791a10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4","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":"50791a10-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"50791a10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4 200 11ms","method":"GET","requestID":"50791a10-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"fe474196ce31f61881d910db55dccfa6","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch","requestID":"fe474196ce31f61881d910db55dccfa6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"507d86e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"585a85c7-6846-4b72-b625-35bdbfa4968f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.7246094} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.498438,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"507d86e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"507d86e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"507d86e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling 200 12ms","method":"POST","requestID":"507d86e0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"507fa9c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"90a4b8dc-588a-48ca-88d2-a42809952483","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.7386248} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.737249,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"507fa9c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","rebac_allow":false,"scope_allow":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":"507fa9c0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"507fa9c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling 200 11ms","method":"POST","requestID":"507fa9c0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Mn0.3d0NdDZNCfhJfwWo77rKNSYtZ88Be5PKGc8xbBHLo6g","level":"info","message":"auth send jwt","requestID":"3c8e599acf485c6adc8532afe05f6e3e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3c8e599acf485c6adc8532afe05f6e3e","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","requestID":"3c8e599acf485c6adc8532afe05f6e3e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.250254,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3c8e599acf485c6adc8532afe05f6e3e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684592,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Mn0.3d0NdDZNCfhJfwWo77rKNSYtZ88Be5PKGc8xbBHLo6g"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3c8e599acf485c6adc8532afe05f6e3e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","requestID":"3c8e599acf485c6adc8532afe05f6e3e"} gateway-1 | {"time_local":"26/Aug/2024:15:03:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3c8e599acf485c6adc8532afe05f6e3e"} experiment-1 | {"level":"info","message":"GET /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009 200 15ms","method":"GET","requestID":"3c8e599acf485c6adc8532afe05f6e3e","responseTime":15,"status":200,"url":"/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Mn0.3d0NdDZNCfhJfwWo77rKNSYtZ88Be5PKGc8xbBHLo6g","level":"info","message":"auth send jwt","requestID":"c76f75f80977471b6748531378d710cc"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"c76f75f80977471b6748531378d710cc","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","requestID":"c76f75f80977471b6748531378d710cc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.144603,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c76f75f80977471b6748531378d710cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684592,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Mn0.3d0NdDZNCfhJfwWo77rKNSYtZ88Be5PKGc8xbBHLo6g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c76f75f80977471b6748531378d710cc","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Attempting to finish experiment","requestID":"c76f75f80977471b6748531378d710cc"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"508db380-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.236354,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"508db380-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684592,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Mn0.3d0NdDZNCfhJfwWo77rKNSYtZ88Be5PKGc8xbBHLo6g"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"508db380-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4","device":"45cc2968-fd95-49ac-a9ea-fe27a7ee4056","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"831add47-4b7a-4814-a8e8-94a4ccda98bc","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/32ef94ad-19e6-453d-9d20-4a9b47781fa4' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"32ef94ad-19e6-453d-9d20-4a9b47781fa4","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F32ef94ad-19e6-453d-9d20-4a9b47781fa4': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F32ef94ad-19e6-453d-9d20-4a9b47781fa4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"faa09cac-0516-495b-8234-e7e0406f5a04","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.849482} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"44268674-690a-4323-837c-3b8d440e4c69","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.8498678} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"508db380-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"548c22fb46356564562af7c7eabe1948","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"548c22fb46356564562af7c7eabe1948","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4"}}},"level":"info","message":"received a callback","requestID":"548c22fb46356564562af7c7eabe1948"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"06708ad29dc56d9c701e653ef04da4a9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"06708ad29dc56d9c701e653ef04da4a9","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4"}}},"level":"info","message":"received a callback","requestID":"06708ad29dc56d9c701e653ef04da4a9"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"508db380-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4 204 43ms","method":"DELETE","requestID":"508db380-63bc-11ef-bd85-dbaeea89054b","responseTime":43,"status":204,"url":"/peerconnections/32ef94ad-19e6-453d-9d20-4a9b47781fa4"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"},"level":"info","message":"Successfully finished experiment","requestID":"c76f75f80977471b6748531378d710cc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5098b000-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F831add47-4b7a-4814-a8e8-94a4ccda98bc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"856ccaa2-71a4-4ec1-ad6b-2440b6859699","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.902582} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.82104,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5098b000-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc","object_type":"device","rebac_allow":false,"scope_allow":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":"5098b000-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5098b000-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling 200 13ms","method":"POST","requestID":"5098b000-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9936a63f-d547-4b7a-bcaf-814a0465d009': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9936a63f-d547-4b7a-bcaf-814a0465d009","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"0aeb22a4-f0c1-4a43-8544-dcb03b0acd00","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.9124005} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"509b2100-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c4b5763d-a792-4b9f-a51a-7f0f0c823b48","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.9129293} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"c76f75f80977471b6748531378d710cc","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45cc2968-fd95-49ac-a9ea-fe27a7ee4056","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5bd8c88-8163-4f65-8ffb-bf952694b8e2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684592.9200413} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.938737,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"509b2100-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056","object_type":"device","rebac_allow":false,"scope_allow":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":"509b2100-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"509b2100-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling 200 15ms","method":"POST","requestID":"509b2100-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/45cc2968-fd95-49ac-a9ea-fe27a7ee4056/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009","requestID":"c76f75f80977471b6748531378d710cc"} gateway-1 | {"time_local":"26/Aug/2024:15:03:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009 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":"c76f75f80977471b6748531378d710cc"} experiment-1 | {"level":"info","message":"DELETE /experiments/9936a63f-d547-4b7a-bcaf-814a0465d009 204 175ms","method":"DELETE","requestID":"c76f75f80977471b6748531378d710cc","responseTime":175,"status":204,"url":"/experiments/9936a63f-d547-4b7a-bcaf-814a0465d009"} gateway-1 | {"time_local":"26/Aug/2024:15:03:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3231","request_time":"4.226","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6c36e9d46a2cb57a745bb5612b6a0fc4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"548c22fb46356564562af7c7eabe1948","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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":"548c22fb46356564562af7c7eabe1948"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"06708ad29dc56d9c701e653ef04da4a9","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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":"06708ad29dc56d9c701e653ef04da4a9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Mn0.3d0NdDZNCfhJfwWo77rKNSYtZ88Be5PKGc8xbBHLo6g","level":"info","message":"auth send jwt","requestID":"e3d484bd5ebee4983386510faa76751a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e3d484bd5ebee4983386510faa76751a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e3d484bd5ebee4983386510faa76751a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2740","request_time":"2.748","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"11db507d1c180bd2769be6aafcece73e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.708799,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e3d484bd5ebee4983386510faa76751a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684592,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Mn0.3d0NdDZNCfhJfwWo77rKNSYtZ88Be5PKGc8xbBHLo6g"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e3d484bd5ebee4983386510faa76751a","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/831add47-4b7a-4814-a8e8-94a4ccda98bc' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c1885d54-59a4-4652-99b2-6b38df394300","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.0093417} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3d484bd5ebee4983386510faa76751a","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/45cc2968-fd95-49ac-a9ea-fe27a7ee4056' 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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f2e9b9c4-31c8-44de-bd7d-0221b10c971a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.014443} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e3d484bd5ebee4983386510faa76751a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"05e9e32a-3d54-4e3e-aa3f-34891ee3e75e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.0250738} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"41ed7fd3-fb33-42f0-81ab-a68ecb64263b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.025212} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e3d484bd5ebee4983386510faa76751a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.025046261Z"}]},"request_id":"7b8d9b58-183e-4a09-9116-920752f6b794","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.0291567} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3d484bd5ebee4983386510faa76751a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e3d484bd5ebee4983386510faa76751a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e3d484bd5ebee4983386510faa76751a"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"e3d484bd5ebee4983386510faa76751a","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"40924f3eb0621679c2420919832c0824"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"40924f3eb0621679c2420919832c0824","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"40924f3eb0621679c2420919832c0824"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.51142,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"40924f3eb0621679c2420919832c0824","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"40924f3eb0621679c2420919832c0824","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"da494151-cf79-48e4-92ad-d858fb6b15b9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.052975} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"40924f3eb0621679c2420919832c0824","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"899a5da3-9875-4f5d-839e-1c292b75c09f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.0575514} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"40924f3eb0621679c2420919832c0824","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d3e66973-199f-490f-81ce-e45d35cd4203","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.0719602} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c91d9665-0543-4242-983a-a3e6257c4670","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.0722253} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"40924f3eb0621679c2420919832c0824","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.071926957Z"}]},"request_id":"d22dbfd4-b075-4892-b717-8ed4e98a2b38","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.0758734} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"40924f3eb0621679c2420919832c0824","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"40924f3eb0621679c2420919832c0824"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"40924f3eb0621679c2420919832c0824","responseTime":40,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"40924f3eb0621679c2420919832c0824"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"9b38f8816a74287371db72ae544c4d88"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"9b38f8816a74287371db72ae544c4d88","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"0219df7e30201605b059c13f9c49305a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0219df7e30201605b059c13f9c49305a","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"9b38f8816a74287371db72ae544c4d88"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0219df7e30201605b059c13f9c49305a"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.247889,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9b38f8816a74287371db72ae544c4d88","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9b38f8816a74287371db72ae544c4d88","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.580052,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0219df7e30201605b059c13f9c49305a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0219df7e30201605b059c13f9c49305a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.071926957Z"}]},"request_id":"95ff11dc-6795-4f53-8976-991b42d96810","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.570705} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9b38f8816a74287371db72ae544c4d88","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.025046261Z"}]},"request_id":"6bbbb2d6-5982-4844-8c6a-24829cf59c12","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.5720172} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0219df7e30201605b059c13f9c49305a","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"01e14487-a9f4-4609-bf2e-ecbc39ea8ab7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.575809} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9b38f8816a74287371db72ae544c4d88","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"02fecfdf-230d-48b3-9685-05d2d1c12e8b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.577015} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0219df7e30201605b059c13f9c49305a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.025046261Z"}]},"request_id":"4065f4df-b229-4b45-81b3-3ec0b8f36971","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.5796242} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0219df7e30201605b059c13f9c49305a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0219df7e30201605b059c13f9c49305a"} device-1 | {"level":"info","message":"PATCH /devices/d6948021-ce73-4b84-8408-7c38715a56c1 200 21ms","method":"PATCH","requestID":"0219df7e30201605b059c13f9c49305a","responseTime":21,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d6948021-ce73-4b84-8408-7c38715a56c1 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.030","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0219df7e30201605b059c13f9c49305a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"c5d505053037c37ad5814585b8ed8446"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c5d505053037c37ad5814585b8ed8446","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c5d505053037c37ad5814585b8ed8446"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.071926957Z"}]},"request_id":"512e0cf3-232e-43a8-ae78-47ce572ad36e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.5904176} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9b38f8816a74287371db72ae544c4d88","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.86939,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"9b38f8816a74287371db72ae544c4d88"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c5d505053037c37ad5814585b8ed8446","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c5d505053037c37ad5814585b8ed8446","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"PATCH /devices/013bf3b8-4bc0-4a17-b395-7f4896000335 200 34ms","method":"PATCH","requestID":"9b38f8816a74287371db72ae544c4d88","responseTime":34,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/013bf3b8-4bc0-4a17-b395-7f4896000335 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9b38f8816a74287371db72ae544c4d88"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"3ba79fac6813c76dba25cabde74fe9d1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3ba79fac6813c76dba25cabde74fe9d1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3ba79fac6813c76dba25cabde74fe9d1"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.625197,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3ba79fac6813c76dba25cabde74fe9d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3ba79fac6813c76dba25cabde74fe9d1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c5d505053037c37ad5814585b8ed8446"} device-1 | {"level":"info","message":"POST /devices/d6948021-ce73-4b84-8408-7c38715a56c1/websocket 200 16ms","method":"POST","requestID":"c5d505053037c37ad5814585b8ed8446","responseTime":16,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d6948021-ce73-4b84-8408-7c38715a56c1/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c5d505053037c37ad5814585b8ed8446"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3ba79fac6813c76dba25cabde74fe9d1"} device-1 | {"level":"info","message":"POST /devices/013bf3b8-4bc0-4a17-b395-7f4896000335/websocket 200 15ms","method":"POST","requestID":"3ba79fac6813c76dba25cabde74fe9d1","responseTime":15,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/013bf3b8-4bc0-4a17-b395-7f4896000335/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.018","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3ba79fac6813c76dba25cabde74fe9d1"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"dceb4e1f98995b67f87562404a7b5271"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dceb4e1f98995b67f87562404a7b5271","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dceb4e1f98995b67f87562404a7b5271"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.08579,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dceb4e1f98995b67f87562404a7b5271","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"dceb4e1f98995b67f87562404a7b5271","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.025046261Z"}]},"request_id":"f3bf4b68-f231-454f-8b36-16edcdd1137f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.6520329} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dceb4e1f98995b67f87562404a7b5271","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dceb4e1f98995b67f87562404a7b5271"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d6948021-ce73-4b84-8408-7c38715a56c1? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dceb4e1f98995b67f87562404a7b5271"} device-1 | {"level":"info","message":"GET /devices/d6948021-ce73-4b84-8408-7c38715a56c1? 200 15ms","method":"GET","requestID":"dceb4e1f98995b67f87562404a7b5271","responseTime":15,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"89e296baea429cf4a0f42fbee3188a25"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"89e296baea429cf4a0f42fbee3188a25","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"89e296baea429cf4a0f42fbee3188a25"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.292104,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"89e296baea429cf4a0f42fbee3188a25","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"89e296baea429cf4a0f42fbee3188a25","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.071926957Z"}]},"request_id":"8fbf465c-5b8d-43fb-a1aa-318dbb46c218","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.6756508} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"89e296baea429cf4a0f42fbee3188a25","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"89e296baea429cf4a0f42fbee3188a25"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/013bf3b8-4bc0-4a17-b395-7f4896000335? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"89e296baea429cf4a0f42fbee3188a25"} device-1 | {"level":"info","message":"GET /devices/013bf3b8-4bc0-4a17-b395-7f4896000335? 200 17ms","method":"GET","requestID":"89e296baea429cf4a0f42fbee3188a25","responseTime":17,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"24483a5a41914555b7dc4cafe26ed692"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"24483a5a41914555b7dc4cafe26ed692","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"24483a5a41914555b7dc4cafe26ed692"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.342882,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"24483a5a41914555b7dc4cafe26ed692","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"24483a5a41914555b7dc4cafe26ed692","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Attempting to run experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Attempting to book experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully booked experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51184040-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"51188e60-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.936384,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"51184040-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"51184040-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.571622,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"51188e60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"51188e60-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.025046261Z"}]},"request_id":"a1438486-a5be-4b47-a537-5001513af5f6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.7404072} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"51184040-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.071926957Z"}]},"request_id":"b874a31b-1a9b-4050-9f2e-6b2f3dc425be","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.7411847} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"51188e60-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51188e60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/013bf3b8-4bc0-4a17-b395-7f4896000335? 200 13ms","method":"GET","requestID":"51188e60-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"51184040-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/d6948021-ce73-4b84-8408-7c38715a56c1? 200 17ms","method":"GET","requestID":"51184040-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Setting up experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully locked booking for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Attempting to update booking for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully updated booking for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully set up experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"512315b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"512363d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51238ae0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.627083,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully running experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"512315b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"512315b0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.650563,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"512363d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"512363d0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"24e0e9b0-ca20-47dc-be1f-6e352d584914","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8122613} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.071926957Z"}]},"request_id":"37f86a7d-541a-42b8-ab68-ae9dbd35627f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8134027} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.250429,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"51238ae0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","rebac_allow":false,"scope_allow":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":"51238ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"512363d0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.025046261Z"}]},"request_id":"2ff37b50-f217-4edd-b46f-c8fd2839d88a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8145876} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"512315b0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51238ae0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling 200 17ms","method":"POST","requestID":"51238ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"512363d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/013bf3b8-4bc0-4a17-b395-7f4896000335? 200 20ms","method":"GET","requestID":"512363d0-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"512315b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/d6948021-ce73-4b84-8408-7c38715a56c1? 200 23ms","method":"GET","requestID":"512315b0-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29606ad-2cc5-454c-b73b-b940428815a0#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29606ad-2cc5-454c-b73b-b940428815a0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"9254d3e1-f17f-4455-bfa6-b54340100674","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.827424} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5126bf30-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"88677e54-f4a3-4030-b08b-16747ca84148","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8277495} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"24483a5a41914555b7dc4cafe26ed692","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51270d50-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"126061d7-756d-4c49-a5e8-6156721cc8c7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8329203} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.228273,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5126bf30-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","rebac_allow":false,"scope_allow":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":"5126bf30-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"857d68f5-b009-430a-b11f-d3ecb8eeb236","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8348627} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.567564,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"51270d50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","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/a29606ad-2cc5-454c-b73b-b940428815a0","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"24483a5a41914555b7dc4cafe26ed692"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"51270d50-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1295","request_time":"0.154","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"level":"info","message":"POST /experiments? 201 148ms","method":"POST","requestID":"24483a5a41914555b7dc4cafe26ed692","responseTime":148,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5126bf30-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling 200 11ms","method":"POST","requestID":"5126bf30-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51270d50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling 200 12ms","method":"POST","requestID":"51270d50-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"d9c83179fc805e70c7c46dca16b8a853"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d9c83179fc805e70c7c46dca16b8a853","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51290920-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d9c83179fc805e70c7c46dca16b8a853"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.816458,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d9c83179fc805e70c7c46dca16b8a853","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d9c83179fc805e70c7c46dca16b8a853","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"65d0d57c-efe7-4ae8-879b-8b9ffd235f2d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8465638} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.298947,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"51290920-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","rebac_allow":false,"scope_allow":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":"51290920-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51290920-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling 200 10ms","method":"POST","requestID":"51290920-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Building connection plan","requestID":"24483a5a41914555b7dc4cafe26ed692"} 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":"e99d7291-6559-498b-942d-79ab1f5787e4"},{"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":"5fe5e468-a135-4790-8c8a-09d9ba3562b4"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"639ee603-bd22-42d0-b23c-bb055202f004"}]},"level":"info","message":"Built pairwise service configurations","requestID":"24483a5a41914555b7dc4cafe26ed692"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"24483a5a41914555b7dc4cafe26ed692"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.025046261Z"}]},"request_id":"d421b891-8e9a-4014-b36e-94637b0089ba","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8514106} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"d9c83179fc805e70c7c46dca16b8a853","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d9c83179fc805e70c7c46dca16b8a853"} device-1 | {"level":"info","message":"GET /devices/d6948021-ce73-4b84-8408-7c38715a56c1? 200 15ms","method":"GET","requestID":"d9c83179fc805e70c7c46dca16b8a853","responseTime":15,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.187997,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d6948021-ce73-4b84-8408-7c38715a56c1? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d9c83179fc805e70c7c46dca16b8a853"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw","level":"info","message":"auth send jwt","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.899896,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684593,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5M30.BHWQNueVcBhjU8SAoZMECHMYMwsM31Kfrm8XU-RTiYw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"29dc5f45-950c-4477-8106-c2a39627b18c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.877373} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dff733e7-e1a8-4ff1-8c7f-50c2e3f2a14f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8776717} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:13.071926957Z"}]},"request_id":"fa247eb6-6a37-4cc3-9404-f7b80748a624","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.8789494} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/013bf3b8-4bc0-4a17-b395-7f4896000335? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb"} device-1 | {"level":"info","message":"GET /devices/013bf3b8-4bc0-4a17-b395-7f4896000335? 200 20ms","method":"GET","requestID":"ccc46cc228dc4bbd6ecc5efcc7b63fdb","responseTime":20,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d'","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d'","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 40ms","method":"POST","requestID":"512b04f0-63bc-11ef-bd85-dbaeea89054b","responseTime":40,"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":"512b04f0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"24483a5a41914555b7dc4cafe26ed692"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"51351710-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"653ed517-f13a-4759-88c9-5201fd4cbd6b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.925875} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.691461,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"51351710-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"51351710-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"51351710-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling 200 9ms","method":"POST","requestID":"51351710-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5136c4c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0d4220db-9a00-4944-b8e0-14a2a38b594a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684593.9370375} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.469981,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5136c4c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","rebac_allow":false,"scope_allow":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":"5136c4c0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5136c4c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling 200 9ms","method":"POST","requestID":"5136c4c0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling"} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/67bcdf78-66a6-4da4-9df0-fb08dd87223d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d87f967d5565d157895ae68ff333513d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d87f967d5565d157895ae68ff333513d","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d"}}},"level":"info","message":"received a callback","requestID":"d87f967d5565d157895ae68ff333513d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"d87f967d5565d157895ae68ff333513d","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"d87f967d5565d157895ae68ff333513d"} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","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/67bcdf78-66a6-4da4-9df0-fb08dd87223d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ddb5df72f9c0214c44153bfc2cfb7ab8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ddb5df72f9c0214c44153bfc2cfb7ab8","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d"}}},"level":"info","message":"received a callback","requestID":"ddb5df72f9c0214c44153bfc2cfb7ab8"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"52755f40-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F67bcdf78-66a6-4da4-9df0-fb08dd87223d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"597870df-f150-4951-bd9c-9945f2e732fd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.0252874} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.971769,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"52755f40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d","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":"52755f40-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"52755f40-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d 200 10ms","method":"GET","requestID":"52755f40-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"ddb5df72f9c0214c44153bfc2cfb7ab8","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.040","http_referrer":"","http_user_agent":"node-fetch","requestID":"ddb5df72f9c0214c44153bfc2cfb7ab8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"527a1a30-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6fad7cb9-8144-4055-bdaa-0320738aa975","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.0572162} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.158695,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"527a1a30-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","rebac_allow":false,"scope_allow":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":"527a1a30-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"527a1a30-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling 200 12ms","method":"POST","requestID":"527a1a30-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"527c6420-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"be4a44a7-0cf8-4980-bbf1-eed8ef76e662","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.0735004} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.292164,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"527c6420-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","rebac_allow":false,"scope_allow":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":"527c6420-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"527c6420-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling 200 15ms","method":"POST","requestID":"527c6420-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"49531897e032e7d18b8dffcdbb2f63e0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"49531897e032e7d18b8dffcdbb2f63e0","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a29606ad-2cc5-454c-b73b-b940428815a0","requestID":"49531897e032e7d18b8dffcdbb2f63e0"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.276454,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"49531897e032e7d18b8dffcdbb2f63e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"49531897e032e7d18b8dffcdbb2f63e0","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a29606ad-2cc5-454c-b73b-b940428815a0","requestID":"49531897e032e7d18b8dffcdbb2f63e0"} experiment-1 | {"level":"info","message":"GET /experiments/a29606ad-2cc5-454c-b73b-b940428815a0 200 16ms","method":"GET","requestID":"49531897e032e7d18b8dffcdbb2f63e0","responseTime":16,"status":200,"url":"/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a29606ad-2cc5-454c-b73b-b940428815a0 HTTP/1.1","status": "200","body_bytes_sent":"1368","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"49531897e032e7d18b8dffcdbb2f63e0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"148398b0b7b37f65fed27e6ad40e6df7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"148398b0b7b37f65fed27e6ad40e6df7","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/a29606ad-2cc5-454c-b73b-b940428815a0","requestID":"148398b0b7b37f65fed27e6ad40e6df7"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.36258,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"148398b0b7b37f65fed27e6ad40e6df7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"148398b0b7b37f65fed27e6ad40e6df7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Attempting to finish experiment","requestID":"148398b0b7b37f65fed27e6ad40e6df7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"52889920-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.200761,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"52889920-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"52889920-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d6948021-ce73-4b84-8408-7c38715a56c1","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"013bf3b8-4bc0-4a17-b395-7f4896000335","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/67bcdf78-66a6-4da4-9df0-fb08dd87223d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c8b746b619faea9b7aa931ee100674f3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"c8b746b619faea9b7aa931ee100674f3","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F67bcdf78-66a6-4da4-9df0-fb08dd87223d': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F67bcdf78-66a6-4da4-9df0-fb08dd87223d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"15d8c892-d11e-4c91-9b1d-3a3176ce5e23","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.1744106} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6238ed851656bc6bab34e866d04d7108","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"6238ed851656bc6bab34e866d04d7108","responseTime":3,"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d"}}},"level":"info","message":"received a callback","requestID":"c8b746b619faea9b7aa931ee100674f3"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4eab4e07-947d-4f6a-a009-477684c2a264","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.17607} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"52889920-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d"}}},"level":"info","message":"received a callback","requestID":"6238ed851656bc6bab34e866d04d7108"} device-1 | {"data":{"peerconnection":"67bcdf78-66a6-4da4-9df0-fb08dd87223d","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"52889920-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d 204 50ms","method":"DELETE","requestID":"52889920-63bc-11ef-bd85-dbaeea89054b","responseTime":50,"status":204,"url":"/peerconnections/67bcdf78-66a6-4da4-9df0-fb08dd87223d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"},"level":"info","message":"Successfully finished experiment","requestID":"148398b0b7b37f65fed27e6ad40e6df7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"52948000-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6948021-ce73-4b84-8408-7c38715a56c1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d8834dcc-4397-4532-a189-3a0c11bc9ae1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.231638} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.940901,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"52948000-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6948021-ce73-4b84-8408-7c38715a56c1","object_type":"device","rebac_allow":false,"scope_allow":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":"52948000-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"52948000-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling 200 15ms","method":"POST","requestID":"52948000-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/d6948021-ce73-4b84-8408-7c38715a56c1/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29606ad-2cc5-454c-b73b-b940428815a0': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29606ad-2cc5-454c-b73b-b940428815a0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"f2d453c9-9147-40a0-aaa2-6a336038bf14","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.2406821} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c5afe9d5-bf6b-499b-ba00-ddf10d7ecb0b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.2409458} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"52973f20-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"148398b0b7b37f65fed27e6ad40e6df7","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F013bf3b8-4bc0-4a17-b395-7f4896000335","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f57d749b-638f-44ae-a7f5-0933af251d46","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.2495253} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.425746,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"52973f20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335","object_type":"device","rebac_allow":false,"scope_allow":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":"52973f20-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"52973f20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling 200 14ms","method":"POST","requestID":"52973f20-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/013bf3b8-4bc0-4a17-b395-7f4896000335/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/a29606ad-2cc5-454c-b73b-b940428815a0","requestID":"148398b0b7b37f65fed27e6ad40e6df7"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/a29606ad-2cc5-454c-b73b-b940428815a0 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.191","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"148398b0b7b37f65fed27e6ad40e6df7"} experiment-1 | {"level":"info","message":"DELETE /experiments/a29606ad-2cc5-454c-b73b-b940428815a0 204 188ms","method":"DELETE","requestID":"148398b0b7b37f65fed27e6ad40e6df7","responseTime":188,"status":204,"url":"/experiments/a29606ad-2cc5-454c-b73b-b940428815a0"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2747","request_time":"2.713","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"2abb5dec43b2d1533e63c96d523e3300"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2745","request_time":"2.704","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"2c2b101e4a0ef4d883cdd0a874f3e26c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 147ms","method":"POST","requestID":"c8b746b619faea9b7aa931ee100674f3","responseTime":147,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.154","http_referrer":"","http_user_agent":"node-fetch","requestID":"c8b746b619faea9b7aa931ee100674f3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"0414bae7290890fb598c9f9aa4bcc6e6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 145ms","method":"POST","requestID":"6238ed851656bc6bab34e866d04d7108","responseTime":145,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.155","http_referrer":"","http_user_agent":"node-fetch","requestID":"6238ed851656bc6bab34e866d04d7108"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/013bf3b8-4bc0-4a17-b395-7f4896000335' closed"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0414bae7290890fb598c9f9aa4bcc6e6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0414bae7290890fb598c9f9aa4bcc6e6"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.754672,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0414bae7290890fb598c9f9aa4bcc6e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0414bae7290890fb598c9f9aa4bcc6e6","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/d6948021-ce73-4b84-8408-7c38715a56c1' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"175ba278-811b-4b1d-908f-7ee82a14bb82","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.3445537} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0414bae7290890fb598c9f9aa4bcc6e6","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eed12689-32b6-433d-9ab4-17418310c9bb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.3492954} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0414bae7290890fb598c9f9aa4bcc6e6","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"9e7cf2ad-9c48-4165-92c1-c60174e0e55d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.3598373} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f42b4b00-97dd-447c-ac02-4e3228cf6f2e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.3601437} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0414bae7290890fb598c9f9aa4bcc6e6","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.359800519Z"}]},"request_id":"448206b5-413f-4e31-ab3a-4ea33bdee6a4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.365855} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0414bae7290890fb598c9f9aa4bcc6e6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0414bae7290890fb598c9f9aa4bcc6e6"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0414bae7290890fb598c9f9aa4bcc6e6"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"0414bae7290890fb598c9f9aa4bcc6e6","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"48018bf0077faf35fdbc5df1865839a2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"48018bf0077faf35fdbc5df1865839a2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"48018bf0077faf35fdbc5df1865839a2"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.751122,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"48018bf0077faf35fdbc5df1865839a2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"48018bf0077faf35fdbc5df1865839a2","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"568db395-5d90-44eb-93b1-e878d9270c3c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.3967414} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"48018bf0077faf35fdbc5df1865839a2","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d78249fb-765f-4c96-b0af-2712948adc85","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.4015744} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"48018bf0077faf35fdbc5df1865839a2","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"8d108774-0345-4076-85aa-66e073103f4c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.4127629} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1f9ad143-f561-4b18-989b-9928ea91782c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.4130366} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"48018bf0077faf35fdbc5df1865839a2","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.412733564Z"}]},"request_id":"b5339dd5-2bd5-4000-bde6-78e9a544c025","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.4175706} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"48018bf0077faf35fdbc5df1865839a2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"48018bf0077faf35fdbc5df1865839a2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"48018bf0077faf35fdbc5df1865839a2"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"48018bf0077faf35fdbc5df1865839a2","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"5b6ef54fbc72e2d959696ef0ae283013"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5b6ef54fbc72e2d959696ef0ae283013","responseTime":5,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"28b0caafb8606c02b5fc570cf14c650d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"28b0caafb8606c02b5fc570cf14c650d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5b6ef54fbc72e2d959696ef0ae283013"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"28b0caafb8606c02b5fc570cf14c650d"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.603739,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5b6ef54fbc72e2d959696ef0ae283013","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5b6ef54fbc72e2d959696ef0ae283013","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.517451,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"28b0caafb8606c02b5fc570cf14c650d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"28b0caafb8606c02b5fc570cf14c650d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.359800519Z"}]},"request_id":"086aa8b7-5745-44a7-8e5e-c54d9cc4563b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.910736} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5b6ef54fbc72e2d959696ef0ae283013","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.412733564Z"}]},"request_id":"2e1667ef-db3b-4fdf-ba8d-12c56dc62624","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.9113252} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"28b0caafb8606c02b5fc570cf14c650d","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33672dd9-a0a3-4dd2-83e1-4dd374587d4e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.9156373} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5b6ef54fbc72e2d959696ef0ae283013","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c957b041-34c8-4b4d-9c42-2d5b093fd91b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.9171197} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"28b0caafb8606c02b5fc570cf14c650d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.412733564Z"}]},"request_id":"b1de02d0-99da-4008-8f5e-7f70db365ded","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.9208043} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"28b0caafb8606c02b5fc570cf14c650d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"28b0caafb8606c02b5fc570cf14c650d"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"28b0caafb8606c02b5fc570cf14c650d"} device-1 | {"level":"info","message":"PATCH /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8 200 20ms","method":"PATCH","requestID":"28b0caafb8606c02b5fc570cf14c650d","responseTime":20,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"ae5e87b883dbdf6c290ae720d3e07739"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ae5e87b883dbdf6c290ae720d3e07739","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ae5e87b883dbdf6c290ae720d3e07739"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.649902,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ae5e87b883dbdf6c290ae720d3e07739","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ae5e87b883dbdf6c290ae720d3e07739","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.359800519Z"}]},"request_id":"d35b8a5b-d5b2-4a88-bffb-a1a932a97cfa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.9319801} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5b6ef54fbc72e2d959696ef0ae283013","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5b6ef54fbc72e2d959696ef0ae283013"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.040","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5b6ef54fbc72e2d959696ef0ae283013"} device-1 | {"level":"info","message":"PATCH /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81 200 34ms","method":"PATCH","requestID":"5b6ef54fbc72e2d959696ef0ae283013","responseTime":34,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"43f750fbdf2a2e736acbd86f436a45a7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"43f750fbdf2a2e736acbd86f436a45a7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"43f750fbdf2a2e736acbd86f436a45a7"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.689202,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"43f750fbdf2a2e736acbd86f436a45a7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"43f750fbdf2a2e736acbd86f436a45a7","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ae5e87b883dbdf6c290ae720d3e07739"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ae5e87b883dbdf6c290ae720d3e07739"} device-1 | {"level":"info","message":"POST /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/websocket 200 17ms","method":"POST","requestID":"ae5e87b883dbdf6c290ae720d3e07739","responseTime":17,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"43f750fbdf2a2e736acbd86f436a45a7"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.018","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"43f750fbdf2a2e736acbd86f436a45a7"} device-1 | {"level":"info","message":"POST /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/websocket 200 13ms","method":"POST","requestID":"43f750fbdf2a2e736acbd86f436a45a7","responseTime":13,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"3cdac5b4302db022006f72861ea3f172"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3cdac5b4302db022006f72861ea3f172","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3cdac5b4302db022006f72861ea3f172"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.639478,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3cdac5b4302db022006f72861ea3f172","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"3cdac5b4302db022006f72861ea3f172","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.359800519Z"}]},"request_id":"8c47a29f-bf77-49e4-bd2e-0267acd46d57","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684596.9860024} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3cdac5b4302db022006f72861ea3f172","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3cdac5b4302db022006f72861ea3f172"} device-1 | {"level":"info","message":"GET /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81? 200 10ms","method":"GET","requestID":"3cdac5b4302db022006f72861ea3f172","responseTime":10,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3cdac5b4302db022006f72861ea3f172"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk","level":"info","message":"auth send jwt","requestID":"eff6a77687fd2d20c80c2757a4f4ba66"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"eff6a77687fd2d20c80c2757a4f4ba66","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eff6a77687fd2d20c80c2757a4f4ba66"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.675462,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"eff6a77687fd2d20c80c2757a4f4ba66","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684596,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5Nn0.-0yaWj2NmnioTWcEF6FdPGRNAyR9dywRDvWa0uGRbmk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"eff6a77687fd2d20c80c2757a4f4ba66","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.412733564Z"}]},"request_id":"d0fe4efd-20fe-4566-85e2-509dbcbe8e9c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.0022302} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"eff6a77687fd2d20c80c2757a4f4ba66","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eff6a77687fd2d20c80c2757a4f4ba66"} gateway-1 | {"time_local":"26/Aug/2024:15:03:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eff6a77687fd2d20c80c2757a4f4ba66"} device-1 | {"level":"info","message":"GET /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8? 200 12ms","method":"GET","requestID":"eff6a77687fd2d20c80c2757a4f4ba66","responseTime":12,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg","level":"info","message":"auth send jwt","requestID":"22a162b48730e1f09817ae996d2f675e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"22a162b48730e1f09817ae996d2f675e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"22a162b48730e1f09817ae996d2f675e"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.511127,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"22a162b48730e1f09817ae996d2f675e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"22a162b48730e1f09817ae996d2f675e","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Attempting to run experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Attempting to book experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully booked experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5312d7c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5312fed0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.613284,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5312d7c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5312d7c0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.540279,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5312fed0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5312fed0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.359800519Z"}]},"request_id":"01edfd16-c86f-4498-a9a7-8b587a801efa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.0605407} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5312d7c0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.412733564Z"}]},"request_id":"16c3dd29-1e66-4727-8b36-8dd5ce0dac6e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.0615406} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5312fed0-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5312d7c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81? 200 13ms","method":"GET","requestID":"5312d7c0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5312fed0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8? 200 13ms","method":"GET","requestID":"5312fed0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Setting up experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully locked booking for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Attempting to update booking for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully updated booking for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully set up experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"531cc2d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"531d10f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"531d3800-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully running experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.970224,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"531cc2d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"531cc2d0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.702103,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"531d10f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"531d10f0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8f284768-34bf-4297-8e5e-33904adb328e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.126746} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.228081,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"531d3800-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","rebac_allow":false,"scope_allow":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":"531d3800-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.359800519Z"}]},"request_id":"59aedb7c-4d2b-41ff-afd5-a2601d007165","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1298757} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"531cc2d0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.412733564Z"}]},"request_id":"4c171c49-fa72-45b4-a107-f811ee1c900a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1335769} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"531d10f0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"531d3800-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling 200 15ms","method":"POST","requestID":"531d3800-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"531ff720-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"531cc2d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81? 200 22ms","method":"GET","requestID":"531cc2d0-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"531d10f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} device-1 | {"level":"info","message":"GET /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8? 200 21ms","method":"GET","requestID":"531d10f0-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92a17077-277a-409f-ba17-7fe0c048ef17","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1418393} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"53209360-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.384866,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"531ff720-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","rebac_allow":false,"scope_allow":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":"531ff720-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe99a49f7-0ac8-4f7d-a66a-ccf31ca68155#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe99a49f7-0ac8-4f7d-a66a-ccf31ca68155","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"35595027-b54b-406a-8398-debb4a091063","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.144581} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a97479ee-6367-47f7-be1f-304a59513c4b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1447725} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"531ff720-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling 200 10ms","method":"POST","requestID":"531ff720-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"22a162b48730e1f09817ae996d2f675e","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ce77e3fc-2765-46a2-a876-70e13542c384","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1486552} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.818373,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"53209360-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"53209360-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"53209360-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling 200 11ms","method":"POST","requestID":"53209360-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5322b640-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"22a162b48730e1f09817ae996d2f675e"} gateway-1 | {"time_local":"26/Aug/2024:15:03:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1295","request_time":"0.150","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"level":"info","message":"POST /experiments? 201 146ms","method":"POST","requestID":"22a162b48730e1f09817ae996d2f675e","responseTime":146,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"80be7fb7-27ef-4e8d-9be0-22a7589fd303","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.161352} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.27939,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5322b640-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","rebac_allow":false,"scope_allow":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":"5322b640-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg","level":"info","message":"auth send jwt","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5322b640-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} device-1 | {"level":"info","message":"POST /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling 200 11ms","method":"POST","requestID":"5322b640-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.889512,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0cd9ccc6d89da2ae9e77e21ad355d781","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.359800519Z"}]},"request_id":"a5866de4-65ed-4c9b-8fa5-7a9e01030ebd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1738393} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Building connection plan","requestID":"22a162b48730e1f09817ae996d2f675e"} 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":"e5140bcc-082a-4b1b-9c3c-0a287d127b63"},{"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":"6bdf68b2-85b4-4cdb-b2f3-23dbf6a49e0c"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"bee01ee9-2394-49ea-aa8c-0c4e459f125c"}]},"level":"info","message":"Built pairwise service configurations","requestID":"22a162b48730e1f09817ae996d2f675e"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"22a162b48730e1f09817ae996d2f675e"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781"} device-1 | {"level":"info","message":"GET /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81? 200 15ms","method":"GET","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781","responseTime":15,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0cd9ccc6d89da2ae9e77e21ad355d781"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.890091,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg","level":"info","message":"auth send jwt","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.34118,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8e4391bfe0f765aa8f1c7a3d8327e573","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684597,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5N30.wu4Cp2J7jYOeMLLPeSH-JjgK5yH35QH_1mrUdTg4xBg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"0d1f045b-8cbb-4755-9f4a-8ad82426cc4a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1943421} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d2d43202-163c-4a5c-a3ac-94344f723a38","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1945047} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:16.412733564Z"}]},"request_id":"16f57c13-07f3-4c71-835a-951a419445e1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.1950865} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573"} device-1 | {"level":"info","message":"GET /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8? 200 13ms","method":"GET","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573","responseTime":13,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8e4391bfe0f765aa8f1c7a3d8327e573"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985'","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985'","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"532611a0-63bc-11ef-bd85-dbaeea89054b"} 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":"532611a0-63bc-11ef-bd85-dbaeea89054b","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":"532611a0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"22a162b48730e1f09817ae996d2f675e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"532e9d20-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6bd8bbc4-53b9-4d0b-a43b-cd0593d16ac3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.2391202} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.386305,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"532e9d20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"532e9d20-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"532e9d20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling 200 8ms","method":"POST","requestID":"532e9d20-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"53304ad0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"60234eba-d3d9-4796-8753-66e0576ffec7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684597.249974} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.535514,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"53304ad0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"53304ad0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"53304ad0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling 200 9ms","method":"POST","requestID":"53304ad0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling"} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"e769913d-f8dd-4f45-bc00-e0b26a52a985","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"e769913d-f8dd-4f45-bc00-e0b26a52a985","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/e769913d-f8dd-4f45-bc00-e0b26a52a985' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e769913d-f8dd-4f45-bc00-e0b26a52a985","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2a8912047062c7e4eef771c160dbb444","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2a8912047062c7e4eef771c160dbb444","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985"}}},"level":"info","message":"received a callback","requestID":"2a8912047062c7e4eef771c160dbb444"} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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 8ms","method":"POST","requestID":"2a8912047062c7e4eef771c160dbb444","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"2a8912047062c7e4eef771c160dbb444"} device-1 | {"data":{"peerconnection":"e769913d-f8dd-4f45-bc00-e0b26a52a985","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"e769913d-f8dd-4f45-bc00-e0b26a52a985","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/e769913d-f8dd-4f45-bc00-e0b26a52a985' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e769913d-f8dd-4f45-bc00-e0b26a52a985","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b5214ad3f7d7e5ce42f19a3238dd45e3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"b5214ad3f7d7e5ce42f19a3238dd45e3","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985"}}},"level":"info","message":"received a callback","requestID":"b5214ad3f7d7e5ce42f19a3238dd45e3"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"546f5a80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe769913d-f8dd-4f45-bc00-e0b26a52a985","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d4c0af8-92be-4f47-95ca-1315a2858ef7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.342206} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.647305,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"546f5a80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985","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":"546f5a80-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"546f5a80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985 200 11ms","method":"GET","requestID":"546f5a80-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"b5214ad3f7d7e5ce42f19a3238dd45e3","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"b5214ad3f7d7e5ce42f19a3238dd45e3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5474b1b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"83916ccd-635b-4841-a559-35e10f27e35d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.3786163} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.326455,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5474b1b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","rebac_allow":false,"scope_allow":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":"5474b1b0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5474b1b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling 200 14ms","method":"POST","requestID":"5474b1b0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"547770d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6453a226-098a-4ff5-91ef-a6efbd3f6fc0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.3962688} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.376384,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"547770d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","rebac_allow":false,"scope_allow":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":"547770d0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"547770d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling 200 14ms","method":"POST","requestID":"547770d0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA","level":"info","message":"auth send jwt","requestID":"fee1d1c173df917e63bfbe4564eb2d21"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fee1d1c173df917e63bfbe4564eb2d21","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","requestID":"fee1d1c173df917e63bfbe4564eb2d21"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.098406,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"fee1d1c173df917e63bfbe4564eb2d21","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684599,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fee1d1c173df917e63bfbe4564eb2d21","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","requestID":"fee1d1c173df917e63bfbe4564eb2d21"} gateway-1 | {"time_local":"26/Aug/2024:15:03:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155 HTTP/1.1","status": "200","body_bytes_sent":"1368","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fee1d1c173df917e63bfbe4564eb2d21"} experiment-1 | {"level":"info","message":"GET /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155 200 17ms","method":"GET","requestID":"fee1d1c173df917e63bfbe4564eb2d21","responseTime":17,"status":200,"url":"/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA","level":"info","message":"auth send jwt","requestID":"2f8097353e865afcf3e5fdf930360feb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2f8097353e865afcf3e5fdf930360feb","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","requestID":"2f8097353e865afcf3e5fdf930360feb"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.156857,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2f8097353e865afcf3e5fdf930360feb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684599,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2f8097353e865afcf3e5fdf930360feb","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Attempting to finish experiment","requestID":"2f8097353e865afcf3e5fdf930360feb"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"54824640-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.226312,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"54824640-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684599,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"54824640-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/e769913d-f8dd-4f45-bc00-e0b26a52a985' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e769913d-f8dd-4f45-bc00-e0b26a52a985","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe769913d-f8dd-4f45-bc00-e0b26a52a985': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe769913d-f8dd-4f45-bc00-e0b26a52a985","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"bc9f8b61-a010-4511-a20c-8da11d9cd6ee","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.485654} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9b85f826158963910791b21cfa15ec72","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9b85f826158963910791b21cfa15ec72","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6870f567da7eb5c4525beef3345fa8ae","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985"}}},"level":"info","message":"received a callback","requestID":"9b85f826158963910791b21cfa15ec72"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6870f567da7eb5c4525beef3345fa8ae","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"14a62d4a-604b-4b90-9f52-235338b535b0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.4870985} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"54824640-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985"}}},"level":"info","message":"received a callback","requestID":"6870f567da7eb5c4525beef3345fa8ae"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"54824640-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985 204 46ms","method":"DELETE","requestID":"54824640-63bc-11ef-bd85-dbaeea89054b","responseTime":46,"status":204,"url":"/peerconnections/e769913d-f8dd-4f45-bc00-e0b26a52a985"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"},"level":"info","message":"Successfully finished experiment","requestID":"2f8097353e865afcf3e5fdf930360feb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"548c7f70-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdd11ed6-112d-47b8-8d7c-e80e9fb69e81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2480fe72-26fa-488e-b87d-493126e14e86","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.533519} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.636359,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"548c7f70-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81","object_type":"device","rebac_allow":false,"scope_allow":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":"548c7f70-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"548c7f70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling 200 14ms","method":"POST","requestID":"548c7f70-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe99a49f7-0ac8-4f7d-a66a-ccf31ca68155': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe99a49f7-0ac8-4f7d-a66a-ccf31ca68155","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"993fe4c4-6cd8-481e-ac9d-d558e6939f10","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.5421019} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cc69a25b-fdcb-4c24-ac6a-738fa2e86c77","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.542726} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"2f8097353e865afcf3e5fdf930360feb","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"548f1780-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9d16a5b4-dc1b-4732-af23-8c97f2a63f4c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.551228} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.534112,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"548f1780-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8","object_type":"device","rebac_allow":false,"scope_allow":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":"548f1780-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"548f1780-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling 200 14ms","method":"POST","requestID":"548f1780-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155","requestID":"2f8097353e865afcf3e5fdf930360feb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2f8097353e865afcf3e5fdf930360feb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2745","request_time":"2.657","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"86cbc32e58eafddf39015c8c39407f6d"} experiment-1 | {"level":"info","message":"DELETE /experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155 204 161ms","method":"DELETE","requestID":"2f8097353e865afcf3e5fdf930360feb","responseTime":161,"status":204,"url":"/experiments/e99a49f7-0ac8-4f7d-a66a-ccf31ca68155"} gateway-1 | {"time_local":"26/Aug/2024:15:03:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2747","request_time":"2.650","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"2cc638413987863c5bfe23cfe7738339"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 118ms","method":"POST","requestID":"9b85f826158963910791b21cfa15ec72","responseTime":118,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.123","http_referrer":"","http_user_agent":"node-fetch","requestID":"9b85f826158963910791b21cfa15ec72"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 117ms","method":"POST","requestID":"6870f567da7eb5c4525beef3345fa8ae","responseTime":117,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"6870f567da7eb5c4525beef3345fa8ae"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA","level":"info","message":"auth send jwt","requestID":"0a2029aa8478d7265d03f353546075cc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0a2029aa8478d7265d03f353546075cc","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/cdd11ed6-112d-47b8-8d7c-e80e9fb69e81' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"0a2029aa8478d7265d03f353546075cc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.880722,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0a2029aa8478d7265d03f353546075cc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684599,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0a2029aa8478d7265d03f353546075cc","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/86984c40-2d10-4ba6-bb1d-adb22c4cc1b8' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f4afa75c-66ad-417a-9fbe-1e9b0387575d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.6369555} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0a2029aa8478d7265d03f353546075cc","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ed671ad6-250d-4297-be85-75afabcc4d1e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.6430538} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0a2029aa8478d7265d03f353546075cc","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"af73f8e7-1042-48df-98a9-a1ff7adf0922","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.6538217} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bc89cc1c-d492-4cd0-b1bc-a6f127ebc99d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.6538844} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0a2029aa8478d7265d03f353546075cc","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.653787739Z"}]},"request_id":"d5633424-fb97-4ddd-97e2-9f02a803d7e1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.6585305} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0a2029aa8478d7265d03f353546075cc","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0a2029aa8478d7265d03f353546075cc"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"0a2029aa8478d7265d03f353546075cc","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0a2029aa8478d7265d03f353546075cc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA","level":"info","message":"auth send jwt","requestID":"c2076477160a14785080b3c898116349"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c2076477160a14785080b3c898116349","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c2076477160a14785080b3c898116349"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.969911,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c2076477160a14785080b3c898116349","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684599,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDU5OX0.19_qpO9e7Xu9GzFeaoBSy9Z6eJe9vDIIOvwO6q-5GRA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c2076477160a14785080b3c898116349","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b5ff6458-737d-450d-8c88-162346bc81ff","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.6827736} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c2076477160a14785080b3c898116349","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"03c66980-26da-407d-8d60-14f564676bab","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.6877213} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c2076477160a14785080b3c898116349","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"0866f287-afd3-4bf7-977b-f7d8e016b1fb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.703105} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6da4d6d2-d848-4ef8-9a7a-07dda5ced83f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.7033746} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"c2076477160a14785080b3c898116349","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.703081934Z"}]},"request_id":"59b01a03-8812-4086-8191-0248d89ae790","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684599.7079709} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c2076477160a14785080b3c898116349","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c2076477160a14785080b3c898116349"} gateway-1 | {"time_local":"26/Aug/2024:15:03:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c2076477160a14785080b3c898116349"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"c2076477160a14785080b3c898116349","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8760b84cab780609c49e2e5542cc6029","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"8760b84cab780609c49e2e5542cc6029","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4459efe5-644e-415c-b863-af811865cc18/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":"8760b84cab780609c49e2e5542cc6029"} device-1 | {"level":"info","message":"OPTIONS /devices/4459efe5-644e-415c-b863-af811865cc18/websocket 200 0ms","method":"OPTIONS","requestID":"8760b84cab780609c49e2e5542cc6029","responseTime":0,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"62be35660501b99b72278d5345052982","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"62be35660501b99b72278d5345052982","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/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":"62be35660501b99b72278d5345052982"} device-1 | {"level":"info","message":"OPTIONS /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/websocket 200 1ms","method":"OPTIONS","requestID":"62be35660501b99b72278d5345052982","responseTime":1,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE","level":"info","message":"auth send jwt","requestID":"96b62123977e3db38d28f808c0620666"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"96b62123977e3db38d28f808c0620666","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"96b62123977e3db38d28f808c0620666"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE","level":"info","message":"auth send jwt","requestID":"d359084553ced7370768b1d96cf75800"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.283902,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"d359084553ced7370768b1d96cf75800","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"96b62123977e3db38d28f808c0620666","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"96b62123977e3db38d28f808c0620666","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d359084553ced7370768b1d96cf75800"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.941049,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d359084553ced7370768b1d96cf75800","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d359084553ced7370768b1d96cf75800","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"96b62123977e3db38d28f808c0620666"} device-1 | {"level":"info","message":"POST /devices/4459efe5-644e-415c-b863-af811865cc18/websocket 200 25ms","method":"POST","requestID":"96b62123977e3db38d28f808c0620666","responseTime":25,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4459efe5-644e-415c-b863-af811865cc18/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.035","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"96b62123977e3db38d28f808c0620666"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d359084553ced7370768b1d96cf75800"} device-1 | {"level":"info","message":"POST /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/websocket 200 24ms","method":"POST","requestID":"d359084553ced7370768b1d96cf75800","responseTime":24,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/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":"d359084553ced7370768b1d96cf75800"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE","level":"info","message":"auth send jwt","requestID":"b3bdb0b2652b5024e4f00939d658fa82"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b3bdb0b2652b5024e4f00939d658fa82","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b3bdb0b2652b5024e4f00939d658fa82"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.93398,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b3bdb0b2652b5024e4f00939d658fa82","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b3bdb0b2652b5024e4f00939d658fa82","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.653787739Z"}]},"request_id":"663c49e3-1d5a-4c21-be5b-c090976ebe65","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.7283} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b3bdb0b2652b5024e4f00939d658fa82","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b3bdb0b2652b5024e4f00939d658fa82"} device-1 | {"level":"info","message":"GET /devices/19be8136-3bf1-4828-a2fd-526024e5dffb? 200 16ms","method":"GET","requestID":"b3bdb0b2652b5024e4f00939d658fa82","responseTime":16,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/19be8136-3bf1-4828-a2fd-526024e5dffb? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b3bdb0b2652b5024e4f00939d658fa82"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE","level":"info","message":"auth send jwt","requestID":"1bce34b03fe1888a80d3d82e628e7e86"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1bce34b03fe1888a80d3d82e628e7e86","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1bce34b03fe1888a80d3d82e628e7e86"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.173661,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1bce34b03fe1888a80d3d82e628e7e86","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1bce34b03fe1888a80d3d82e628e7e86","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.703081934Z"}]},"request_id":"ebc3d1bd-a6cc-4078-9a76-17a00316f779","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.7534752} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1bce34b03fe1888a80d3d82e628e7e86","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1bce34b03fe1888a80d3d82e628e7e86"} device-1 | {"level":"info","message":"GET /devices/4459efe5-644e-415c-b863-af811865cc18? 200 18ms","method":"GET","requestID":"1bce34b03fe1888a80d3d82e628e7e86","responseTime":18,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4459efe5-644e-415c-b863-af811865cc18? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1bce34b03fe1888a80d3d82e628e7e86"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE","level":"info","message":"auth send jwt","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c2d7bc27db83fbb3ef38b21104df8800","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.963349,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c2d7bc27db83fbb3ef38b21104df8800","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c2d7bc27db83fbb3ef38b21104df8800","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Attempting to run experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Attempting to book experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully booked experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"55e90230-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"55e95050-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.069185,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55e90230-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"55e90230-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.300942,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55e95050-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"55e95050-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.653787739Z"}]},"request_id":"3dabe96a-41f6-4848-876e-8016033811ba","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.8229206} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"55e90230-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.703081934Z"}]},"request_id":"b08cde0f-e47c-47fa-9cd2-2b283984b57a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.8246431} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"55e95050-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"55e90230-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/19be8136-3bf1-4828-a2fd-526024e5dffb? 200 18ms","method":"GET","requestID":"55e90230-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"55e95050-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/4459efe5-644e-415c-b863-af811865cc18? 200 16ms","method":"GET","requestID":"55e95050-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Setting up experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully set up experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"55f3d7a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"55f425c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"55f473e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.913076,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully running experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55f3d7a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"55f3d7a0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.585519,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55f425c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"55f425c0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"14e153a9-3f77-4993-9d67-570ca8ee915d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.8967056} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.75832,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55f473e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","rebac_allow":false,"scope_allow":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":"55f473e0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.703081934Z"}]},"request_id":"c4326d27-711e-462d-929c-08da518113b4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.900652} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"55f425c0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.653787739Z"}]},"request_id":"d63546d2-4cd6-4ba3-af82-07c1f3a9b73a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.9039516} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"55f3d7a0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"55f473e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling 200 19ms","method":"POST","requestID":"55f473e0-63bc-11ef-bd85-dbaeea89054b","responseTime":19,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"55f7f650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"55f425c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/4459efe5-644e-415c-b863-af811865cc18? 200 29ms","method":"GET","requestID":"55f425c0-63bc-11ef-bd85-dbaeea89054b","responseTime":29,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"55f3d7a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/19be8136-3bf1-4828-a2fd-526024e5dffb? 200 32ms","method":"GET","requestID":"55f3d7a0-63bc-11ef-bd85-dbaeea89054b","responseTime":32,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb?"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06419585-556c-486d-9ddc-6ed1fb17a4d4#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06419585-556c-486d-9ddc-6ed1fb17a4d4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"fde36cbd-9893-4026-8a3d-f4009cf6275a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.916187} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c665e50e-7ea8-429c-84fa-3e0535363121","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.9166012} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"55f955e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"603adfd8-7ad2-4647-b220-ed7b2607f443","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.9169738} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"c2d7bc27db83fbb3ef38b21104df8800","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.611427,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55f7f650-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","rebac_allow":false,"scope_allow":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":"55f7f650-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"55f7f650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4459efe5-644e-415c-b863-af811865cc18/signaling 200 17ms","method":"POST","requestID":"55f7f650-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5e4dec50-370d-41f5-80a6-722b706fb586","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.927865} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.796926,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55f955e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","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/06419585-556c-486d-9ddc-6ed1fb17a4d4","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"55f955e0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1211","request_time":"0.169","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"level":"info","message":"POST /experiments? 201 163ms","method":"POST","requestID":"c2d7bc27db83fbb3ef38b21104df8800","responseTime":163,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"55f955e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling 200 16ms","method":"POST","requestID":"55f955e0-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"55fc3c10-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE","level":"info","message":"auth send jwt","requestID":"ce90e48a7de8742af3894648983c1c0b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ce90e48a7de8742af3894648983c1c0b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ce90e48a7de8742af3894648983c1c0b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cc30d0e9-a778-4269-ac12-342eac6f79cb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.9421468} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.716477,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55fc3c10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"55fc3c10-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.976672,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ce90e48a7de8742af3894648983c1c0b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ce90e48a7de8742af3894648983c1c0b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.653787739Z"}]},"request_id":"8ff7d752-2308-4461-841c-bfccba5fdf8b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.949041} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ce90e48a7de8742af3894648983c1c0b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"55fc3c10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4459efe5-644e-415c-b863-af811865cc18/signaling 200 17ms","method":"POST","requestID":"55fc3c10-63bc-11ef-bd85-dbaeea89054b","responseTime":17,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Building connection plan","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} 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":"0c0fd012-a0a8-4d95-9c21-9baf46cb1fb5"},{"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":"293ed924-90a0-4ea8-b256-8693274ea3a9"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"4910b901-5432-428f-9252-0fa5904ca379"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ce90e48a7de8742af3894648983c1c0b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/19be8136-3bf1-4828-a2fd-526024e5dffb? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ce90e48a7de8742af3894648983c1c0b"} device-1 | {"level":"info","message":"GET /devices/19be8136-3bf1-4828-a2fd-526024e5dffb? 200 18ms","method":"GET","requestID":"ce90e48a7de8742af3894648983c1c0b","responseTime":18,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE","level":"info","message":"auth send jwt","requestID":"0cfdbb392cca4ee09a35c9639f0329e2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0cfdbb392cca4ee09a35c9639f0329e2","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.736556,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0cfdbb392cca4ee09a35c9639f0329e2"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.094683,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0cfdbb392cca4ee09a35c9639f0329e2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684601,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMX0.h1K2gY25EO_oEwpZWkaoJgENgpGWHSDlaURXovm4uOE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0cfdbb392cca4ee09a35c9639f0329e2","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:19.703081934Z"}]},"request_id":"d37fdf24-c20a-4829-b281-e2f1cb0b1903","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.9817004} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0cfdbb392cca4ee09a35c9639f0329e2","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0cfdbb392cca4ee09a35c9639f0329e2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4459efe5-644e-415c-b863-af811865cc18? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0cfdbb392cca4ee09a35c9639f0329e2"} device-1 | {"level":"info","message":"GET /devices/4459efe5-644e-415c-b863-af811865cc18? 200 21ms","method":"GET","requestID":"0cfdbb392cca4ee09a35c9639f0329e2","responseTime":21,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"1e5168ea-a804-4c74-8329-c8fafb844e3d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.986074} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f311e54c-f91c-449f-a165-dd69d436d5d5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684601.9862666} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d'","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d'","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 41ms","method":"POST","requestID":"55ff9770-63bc-11ef-bd85-dbaeea89054b","responseTime":41,"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":"55ff9770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","device":"4459efe5-644e-415c-b863-af811865cc18","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c2d7bc27db83fbb3ef38b21104df8800"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5609a990-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e8ec0c39-e123-4788-9de2-f3f5f06e6631","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.0294752} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.792559,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5609a990-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5609a990-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5609a990-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling 200 8ms","method":"POST","requestID":"5609a990-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling"} device-1 | {"device":"4459efe5-644e-415c-b863-af811865cc18","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"4459efe5-644e-415c-b863-af811865cc18","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"560b5740-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"618b4c90-0257-4e16-b778-48b2b5c239f9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.039494} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.0564,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"560b5740-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","rebac_allow":false,"scope_allow":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":"560b5740-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"560b5740-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4459efe5-644e-415c-b863-af811865cc18/signaling 200 6ms","method":"POST","requestID":"560b5740-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18/signaling"} device-1 | {"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3027914540070861948 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:Secy\r\na=ice-pwd:W1nVoq6EPmWHeECy2wFNnoNz\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FD:87:A7:E3:FE:45:85:D5:59:E6:EC:32:F5:F6:A0:27:21:EC:61:64:9B:FB:E6:AE:37:B7:E4:4B:45:A2:31:C5\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"4459efe5-644e-415c-b863-af811865cc18","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 2333640541442603947 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:OJJQ\r\na=ice-pwd:+chQJkBrUHL/JPjS/Hcqhlbq\r\na=ice-options:trickle\r\na=fingerprint:sha-256 43:7E:B7:7D:DD:A3:BC:F7:51:73:3B:C6:70:7E:FF:8F:DC:30:80:CC:4E:60:9A:DF:27:C9:0A:79:90:3E:14:08\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2235866049 1 udp 2113937151 ca5e44b1-165e-4c4f-a34a-bef9a6b85ee6.local 51691 typ host generation 0 ufrag OJJQ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:376388306 1 udp 1677729535 141.24.211.56 51691 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag OJJQ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","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/19be8136-3bf1-4828-a2fd-526024e5dffb'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb'"} device-1 | {"content":{"candidate":"candidate:669176761 1 udp 2113937151 cd8d8135-5a18-4b3b-b530-9c6a9eb3e185.local 50005 typ host generation 0 ufrag Secy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4459efe5-644e-415c-b863-af811865cc18","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2748299718 1 udp 1677729535 141.24.211.56 50005 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag Secy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4459efe5-644e-415c-b863-af811865cc18","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"4459efe5-644e-415c-b863-af811865cc18","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/4459efe5-644e-415c-b863-af811865cc18'"} device-1 | {"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","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/6cded138-53f9-43a7-8d16-d278ff6b9f3d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6cded138-53f9-43a7-8d16-d278ff6b9f3d","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4459efe5-644e-415c-b863-af811865cc18","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"4459efe5-644e-415c-b863-af811865cc18","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":"633db137aee320da13e384c3260c3eb0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"GET /auth 200 0ms","method":"GET","requestID":"633db137aee320da13e384c3260c3eb0","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d"}}},"level":"info","message":"received a callback","requestID":"633db137aee320da13e384c3260c3eb0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"633db137aee320da13e384c3260c3eb0","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"633db137aee320da13e384c3260c3eb0"} device-1 | {"device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"6cded138-53f9-43a7-8d16-d278ff6b9f3d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"6cded138-53f9-43a7-8d16-d278ff6b9f3d","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/6cded138-53f9-43a7-8d16-d278ff6b9f3d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6cded138-53f9-43a7-8d16-d278ff6b9f3d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6bdffad60a049c996519a2bdd65014a2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6bdffad60a049c996519a2bdd65014a2","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d"}}},"level":"info","message":"received a callback","requestID":"6bdffad60a049c996519a2bdd65014a2"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"56182880-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6cded138-53f9-43a7-8d16-d278ff6b9f3d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6eaa007b-63e5-4557-bbc7-a691da4135f0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.1236315} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":1.930862,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"56182880-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","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":"56182880-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"56182880-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d 200 6ms","method":"GET","requestID":"56182880-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"6bdffad60a049c996519a2bdd65014a2","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch","requestID":"6bdffad60a049c996519a2bdd65014a2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"561c4730-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e41636c8-6d0f-4d4d-a7d7-f6168f610195","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.1512249} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.524259,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"561c4730-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","rebac_allow":false,"scope_allow":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":"561c4730-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"561c4730-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling 200 8ms","method":"POST","requestID":"561c4730-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"561da6c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2ec5a556-871a-46e5-a7ec-21e1e6252749","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.160374} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":1.976049,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"561da6c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"561da6c0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"561da6c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4459efe5-644e-415c-b863-af811865cc18/signaling 200 8ms","method":"POST","requestID":"561da6c0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8","level":"info","message":"auth send jwt","requestID":"17ebd307be60a9f2a51568102b1a43fc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"17ebd307be60a9f2a51568102b1a43fc","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","requestID":"17ebd307be60a9f2a51568102b1a43fc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.665297,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"17ebd307be60a9f2a51568102b1a43fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684602,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"17ebd307be60a9f2a51568102b1a43fc","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","requestID":"17ebd307be60a9f2a51568102b1a43fc"} experiment-1 | {"level":"info","message":"GET /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4 200 9ms","method":"GET","requestID":"17ebd307be60a9f2a51568102b1a43fc","responseTime":9,"status":200,"url":"/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4 HTTP/1.1","status": "200","body_bytes_sent":"1284","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"17ebd307be60a9f2a51568102b1a43fc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8","level":"info","message":"auth send jwt","requestID":"a5635433223a50f0f9825ce84921d0fb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a5635433223a50f0f9825ce84921d0fb","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","requestID":"a5635433223a50f0f9825ce84921d0fb"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.748799,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a5635433223a50f0f9825ce84921d0fb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684602,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a5635433223a50f0f9825ce84921d0fb","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Attempting to finish experiment","requestID":"a5635433223a50f0f9825ce84921d0fb"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"56280700-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.981072,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"56280700-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684602,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"56280700-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","device":"19be8136-3bf1-4828-a2fd-526024e5dffb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d","device":"4459efe5-644e-415c-b863-af811865cc18","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/6cded138-53f9-43a7-8d16-d278ff6b9f3d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6cded138-53f9-43a7-8d16-d278ff6b9f3d","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6cded138-53f9-43a7-8d16-d278ff6b9f3d': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6cded138-53f9-43a7-8d16-d278ff6b9f3d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"a3759c48-9645-4cd3-81f0-e89b433e1f63","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.2387457} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"89950d45-9da0-4671-8274-46394219694e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.2390714} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bc88501532c8a5636c7f0b59722b912b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bc88501532c8a5636c7f0b59722b912b","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"49a6293d51398cd353d826b78885cd6b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"56280700-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"49a6293d51398cd353d826b78885cd6b","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d"}}},"level":"info","message":"received a callback","requestID":"bc88501532c8a5636c7f0b59722b912b"} 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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d"}}},"level":"info","message":"received a callback","requestID":"49a6293d51398cd353d826b78885cd6b"} device-1 | {"data":{"peerconnection":"6cded138-53f9-43a7-8d16-d278ff6b9f3d","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"56280700-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d 204 34ms","method":"DELETE","requestID":"56280700-63bc-11ef-bd85-dbaeea89054b","responseTime":34,"status":204,"url":"/peerconnections/6cded138-53f9-43a7-8d16-d278ff6b9f3d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"},"level":"info","message":"Successfully finished experiment","requestID":"a5635433223a50f0f9825ce84921d0fb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"562f8110-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F19be8136-3bf1-4828-a2fd-526024e5dffb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7ca697e-a84f-4210-9650-9cf6a4e49242","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.277398} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.456814,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"562f8110-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/19be8136-3bf1-4828-a2fd-526024e5dffb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"562f8110-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"562f8110-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling 200 8ms","method":"POST","requestID":"562f8110-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/19be8136-3bf1-4828-a2fd-526024e5dffb/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06419585-556c-486d-9ddc-6ed1fb17a4d4': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F06419585-556c-486d-9ddc-6ed1fb17a4d4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"1d00046d-cbe6-4aff-9687-9e132e14b94b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.2836852} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"563107b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dc36c929-d1d5-4c8a-9ecc-d0e0e57a2e4e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.28447} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"a5635433223a50f0f9825ce84921d0fb","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4459efe5-644e-415c-b863-af811865cc18","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"50ffa62d-813f-4c5a-b958-dda21a0d321b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.2884057} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.540099,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"563107b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"563107b0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"563107b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/4459efe5-644e-415c-b863-af811865cc18/signaling 200 9ms","method":"POST","requestID":"563107b0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/4459efe5-644e-415c-b863-af811865cc18/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4","requestID":"a5635433223a50f0f9825ce84921d0fb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.137","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a5635433223a50f0f9825ce84921d0fb"} experiment-1 | {"level":"info","message":"DELETE /experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4 204 133ms","method":"DELETE","requestID":"a5635433223a50f0f9825ce84921d0fb","responseTime":133,"status":204,"url":"/experiments/06419585-556c-486d-9ddc-6ed1fb17a4d4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 109ms","method":"POST","requestID":"bc88501532c8a5636c7f0b59722b912b","responseTime":109,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.112","http_referrer":"","http_user_agent":"node-fetch","requestID":"bc88501532c8a5636c7f0b59722b912b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 109ms","method":"POST","requestID":"49a6293d51398cd353d826b78885cd6b","responseTime":109,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.113","http_referrer":"","http_user_agent":"node-fetch","requestID":"49a6293d51398cd353d826b78885cd6b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8","level":"info","message":"auth send jwt","requestID":"b7c24de21154c463f04084b065d0ba72"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b7c24de21154c463f04084b065d0ba72","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b7c24de21154c463f04084b065d0ba72"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2849","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":"8ea02d33744af3774a930b9b0d6e4b5c"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2847","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":"4904fe4b3c888bcaa8fdc207ee25d55b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.707238,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b7c24de21154c463f04084b065d0ba72","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684602,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b7c24de21154c463f04084b065d0ba72","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/19be8136-3bf1-4828-a2fd-526024e5dffb' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b8a5fbf9-f8db-4402-a105-4cd66dbe69d2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.3745027} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b7c24de21154c463f04084b065d0ba72","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/4459efe5-644e-415c-b863-af811865cc18' 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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ddcdd049-dfc1-42ac-ba0f-10671b2d3fe1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.3782558} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b7c24de21154c463f04084b065d0ba72","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"739cef2f-5962-4315-b790-a2dfd5cd881a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.3874264} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a7230245-0cf7-4fe9-8333-97b92bae2566","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.3875372} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"b7c24de21154c463f04084b065d0ba72","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.387401249Z"}]},"request_id":"dabbf59c-9088-4403-84bd-4733ae35a7ac","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.3909166} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b7c24de21154c463f04084b065d0ba72","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b7c24de21154c463f04084b065d0ba72"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.043","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b7c24de21154c463f04084b065d0ba72"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"b7c24de21154c463f04084b065d0ba72","responseTime":38,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8","level":"info","message":"auth send jwt","requestID":"b9e924b3113aa08bd955fde80652e6c6"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b9e924b3113aa08bd955fde80652e6c6","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b9e924b3113aa08bd955fde80652e6c6"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.659742,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b9e924b3113aa08bd955fde80652e6c6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684602,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwMn0.QvFhZgj-8TizBkEhS7-44Q3JyILuXg_pFHr7KqwvZK8"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"b9e924b3113aa08bd955fde80652e6c6","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9cdaabb5-8c1f-4fd4-8a5c-44d181448268","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.411417} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b9e924b3113aa08bd955fde80652e6c6","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac577859-9d18-444e-84b1-70c490ffbcdc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.4153438} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b9e924b3113aa08bd955fde80652e6c6","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"f463e5a3-c18b-408e-a7c3-38a46304426b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.4322133} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"51ea3d07-4c1c-4ee4-8354-708bb4ce69d1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.4322941} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"b9e924b3113aa08bd955fde80652e6c6","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.432193148Z"}]},"request_id":"31493e2e-9f06-486d-b79e-158b2653c6ed","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684602.4355102} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b9e924b3113aa08bd955fde80652e6c6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b9e924b3113aa08bd955fde80652e6c6"} gateway-1 | {"time_local":"26/Aug/2024:15:03:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b9e924b3113aa08bd955fde80652e6c6"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"b9e924b3113aa08bd955fde80652e6c6","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"49e89fb2fd0b2a96acf9d13e1fb65842","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"49e89fb2fd0b2a96acf9d13e1fb65842","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/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":"49e89fb2fd0b2a96acf9d13e1fb65842"} device-1 | {"level":"info","message":"OPTIONS /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/websocket 200 2ms","method":"OPTIONS","requestID":"49e89fb2fd0b2a96acf9d13e1fb65842","responseTime":2,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"017ff37240bf8045c5542ad6dcd21a60","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"017ff37240bf8045c5542ad6dcd21a60","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"OPTIONS /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/websocket 200 1ms","method":"OPTIONS","requestID":"017ff37240bf8045c5542ad6dcd21a60","responseTime":1,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/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":"017ff37240bf8045c5542ad6dcd21a60"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"b30fbc0949d43bc9eec10a7688c78e84"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b30fbc0949d43bc9eec10a7688c78e84","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b30fbc0949d43bc9eec10a7688c78e84"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"35faeb71fd66548092417c49afe40564"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"35faeb71fd66548092417c49afe40564","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"35faeb71fd66548092417c49afe40564"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.772346,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b30fbc0949d43bc9eec10a7688c78e84","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"b30fbc0949d43bc9eec10a7688c78e84","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.150481,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"35faeb71fd66548092417c49afe40564","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"35faeb71fd66548092417c49afe40564","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b30fbc0949d43bc9eec10a7688c78e84"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/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":"b30fbc0949d43bc9eec10a7688c78e84"} device-1 | {"level":"info","message":"POST /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/websocket 200 27ms","method":"POST","requestID":"b30fbc0949d43bc9eec10a7688c78e84","responseTime":27,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"35faeb71fd66548092417c49afe40564"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.040","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"35faeb71fd66548092417c49afe40564"} device-1 | {"level":"info","message":"POST /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/websocket 200 31ms","method":"POST","requestID":"35faeb71fd66548092417c49afe40564","responseTime":31,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"c1ba4f70b7f6766a737113aecf8253c4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c1ba4f70b7f6766a737113aecf8253c4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c1ba4f70b7f6766a737113aecf8253c4"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.738194,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c1ba4f70b7f6766a737113aecf8253c4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c1ba4f70b7f6766a737113aecf8253c4","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.387401249Z"}]},"request_id":"e0bc2471-7518-4152-88d4-547dc565eedd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.5206635} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c1ba4f70b7f6766a737113aecf8253c4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c1ba4f70b7f6766a737113aecf8253c4"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c1ba4f70b7f6766a737113aecf8253c4"} device-1 | {"level":"info","message":"GET /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12? 200 17ms","method":"GET","requestID":"c1ba4f70b7f6766a737113aecf8253c4","responseTime":17,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"564568175ee1012dce55915ec12c2ab4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"564568175ee1012dce55915ec12c2ab4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"564568175ee1012dce55915ec12c2ab4"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.221154,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"564568175ee1012dce55915ec12c2ab4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"564568175ee1012dce55915ec12c2ab4","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.432193148Z"}]},"request_id":"9eb7741b-b683-4657-87c7-ee14196fe50a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.5473788} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"564568175ee1012dce55915ec12c2ab4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"564568175ee1012dce55915ec12c2ab4"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"564568175ee1012dce55915ec12c2ab4"} device-1 | {"level":"info","message":"GET /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d? 200 17ms","method":"GET","requestID":"564568175ee1012dce55915ec12c2ab4","responseTime":17,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"3bc7e07a98447c19659e984353c1ce97"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3bc7e07a98447c19659e984353c1ce97","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3bc7e07a98447c19659e984353c1ce97"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.230573,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3bc7e07a98447c19659e984353c1ce97","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3bc7e07a98447c19659e984353c1ce97","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Attempting to run experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Attempting to book experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully booked experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57937de0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5793f310-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.693461,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57937de0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57937de0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.910966,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5793f310-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5793f310-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.387401249Z"}]},"request_id":"bb13b6df-6fe8-41d9-ba0e-df89cd4af4c0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.615558} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"57937de0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.432193148Z"}]},"request_id":"4f9b25ef-1d76-4d53-8dc3-3b678d8b4c2a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.6164699} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5793f310-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57937de0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12? 200 13ms","method":"GET","requestID":"57937de0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5793f310-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d? 200 12ms","method":"GET","requestID":"5793f310-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Setting up experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully set up experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"579e5350-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"579e7a60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"579ea170-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Received request.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:44604","level":"info","msg":"Sent response.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.714058,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully running experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"579e5350-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"579e5350-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.740397,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"579e7a60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"579e7a60-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.387401249Z"}]},"request_id":"849c3594-f9e0-462d-8316-1447245ec9e0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.6869316} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"579e5350-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.432193148Z"}]},"request_id":"92c4a12d-0b34-4ce8-84da-6b3b9a5720c7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.6879907} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"579e7a60-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9de7cc41-facc-463d-9920-97ad642a6258","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.6888049} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.877549,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"579ea170-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","rebac_allow":false,"scope_allow":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":"579ea170-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"579e5350-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12? 200 18ms","method":"GET","requestID":"579e5350-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"579e7a60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d? 200 18ms","method":"GET","requestID":"579e7a60-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"579ea170-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling 200 18ms","method":"POST","requestID":"579ea170-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57a187a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57a1aeb0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F396960ec-9863-4b89-ab0b-2154d030e93e#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F396960ec-9863-4b89-ab0b-2154d030e93e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"21ab9cb7-258c-49bd-8aa7-8d6b1ccdc3d1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7004158} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c4b57a36-d250-40f0-a98f-72aeb5bb623f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7006795} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":1.949085,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"04b55855-00f8-4b7c-b78a-4b16cd163b62","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7024744} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"3bc7e07a98447c19659e984353c1ce97","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57a187a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","rebac_allow":false,"scope_allow":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":"57a187a0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"159909bf-16d0-4af5-959b-b299aa4f85cc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7052968} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.182437,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57a1aeb0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57a1aeb0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57a187a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling 200 10ms","method":"POST","requestID":"57a187a0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57a1aeb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling 200 12ms","method":"POST","requestID":"57a1aeb0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57a3aa80-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"level":"info","message":"POST /experiments? 201 154ms","method":"POST","requestID":"3bc7e07a98447c19659e984353c1ce97","responseTime":154,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1211","request_time":"0.161","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3bc7e07a98447c19659e984353c1ce97"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"274cb65d-b941-4374-b87a-f57d0027c2b2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7191212} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"5fe6919c79957016a5d3e4dc441099e3"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5fe6919c79957016a5d3e4dc441099e3","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.283743,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5fe6919c79957016a5d3e4dc441099e3"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57a3aa80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","rebac_allow":false,"scope_allow":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":"57a3aa80-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.667841,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57a3aa80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling 200 11ms","method":"POST","requestID":"57a3aa80-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5fe6919c79957016a5d3e4dc441099e3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5fe6919c79957016a5d3e4dc441099e3","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Building connection plan","requestID":"3bc7e07a98447c19659e984353c1ce97"} 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":"c2ad2858-a026-43f4-98d1-7d4f65344fd9"},{"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":"27ed0dd2-ef37-493a-90a2-31d9cf5e6f72"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"a046b721-3d2c-4c64-bf4d-71f97eb39ad6"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3bc7e07a98447c19659e984353c1ce97"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"3bc7e07a98447c19659e984353c1ce97"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.387401249Z"}]},"request_id":"91942fa3-b2b3-4620-8855-a1dbf69afae2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.726775} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5fe6919c79957016a5d3e4dc441099e3","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.636557,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5fe6919c79957016a5d3e4dc441099e3"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5fe6919c79957016a5d3e4dc441099e3"} device-1 | {"level":"info","message":"GET /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12? 200 12ms","method":"GET","requestID":"5fe6919c79957016a5d3e4dc441099e3","responseTime":12,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"8fc5be63854efb9195fea44e2cf01419"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8fc5be63854efb9195fea44e2cf01419","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8fc5be63854efb9195fea44e2cf01419"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"8eea74ff-4c75-4ee8-85ed-c3c190301054","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.739902} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8b4476bf-f5fb-402e-ac14-670e9934baa3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7400634} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.733916,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8fc5be63854efb9195fea44e2cf01419","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8fc5be63854efb9195fea44e2cf01419","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:22.432193148Z"}]},"request_id":"addbcb3c-a683-4059-9084-7c448014c6c7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7461035} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8fc5be63854efb9195fea44e2cf01419","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7'","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7'","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b"} 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":"57a5a650-63bc-11ef-bd85-dbaeea89054b","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":"getDevicesByDeviceId succeeded","requestID":"8fc5be63854efb9195fea44e2cf01419"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8fc5be63854efb9195fea44e2cf01419"} device-1 | {"level":"info","message":"GET /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d? 200 20ms","method":"GET","requestID":"8fc5be63854efb9195fea44e2cf01419","responseTime":20,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"57a5a650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3bc7e07a98447c19659e984353c1ce97"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57ae58e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aab1ea9b-6b0b-4b59-a33f-748b056ee3bf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7871823} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.618865,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57ae58e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57ae58e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57ae58e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling 200 10ms","method":"POST","requestID":"57ae58e0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57b02da0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dbed1c95-9b53-412d-ac11-f7904cd40a88","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.7984185} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.09006,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57b02da0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","rebac_allow":false,"scope_allow":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":"57b02da0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57b02da0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling 200 8ms","method":"POST","requestID":"57b02da0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling"} device-1 | {"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 1594446636908193328 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:iHKn\r\na=ice-pwd:RxB+B8NbWD5v0U5umNvGg46g\r\na=ice-options:trickle\r\na=fingerprint:sha-256 F4:2B:9B:06:B1:ED:F1:C5:9E:61:4B:BB:F8:F7:D7:33:96:D4:BA:D9:BE:F4:4C:DE:3E:6B:CD:DF:1D:B7:5C:6E\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 1835465299482729526 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:kKQT\r\na=ice-pwd:APy/nxpeacfZy9YU464eoWqd\r\na=ice-options:trickle\r\na=fingerprint:sha-256 52:AC:C8:AA:70:C1:79:B7:83:7C:37:A4:21:52:68:BD:ED:35:E2:A7:AD:AA:FB:C3:4C:04:D0:6F:CE:FF:8B:8D\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3337932026 1 udp 2113937151 c240cbd0-170f-4bb2-8ca8-c01583515cb8.local 59495 typ host generation 0 ufrag kKQT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1121560197 1 udp 1677729535 141.24.211.56 59495 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag kKQT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","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/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12'"} device-1 | {"content":{"candidate":"candidate:3364913184 1 udp 2113937151 1098db4e-4926-455d-a66f-37e82cbc5221.local 37587 typ host generation 0 ufrag iHKn network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1538990387 1 udp 1677729535 141.24.211.56 37587 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag iHKn network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","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/7dc91f78-7700-4df0-b7aa-c627669ba69d'"} device-1 | {"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","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/d172134e-daf2-47bd-838d-64b179cc12a7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d172134e-daf2-47bd-838d-64b179cc12a7","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4691f5a3afd79bfa901df609fb3c26c3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4691f5a3afd79bfa901df609fb3c26c3","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7"}}},"level":"info","message":"received a callback","requestID":"4691f5a3afd79bfa901df609fb3c26c3"} device-1 | {"device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 16ms","method":"POST","requestID":"4691f5a3afd79bfa901df609fb3c26c3","responseTime":16,"status":200,"url":"/callbacks/experiment"} device-1 | {"data":{"peerconnection":"d172134e-daf2-47bd-838d-64b179cc12a7","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.018","http_referrer":"","http_user_agent":"node-fetch","requestID":"4691f5a3afd79bfa901df609fb3c26c3"} device-1 | {"data":{"peerconnection":"d172134e-daf2-47bd-838d-64b179cc12a7","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/d172134e-daf2-47bd-838d-64b179cc12a7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d172134e-daf2-47bd-838d-64b179cc12a7","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c225fce01ad5a1b2153eb152e28e0024","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c225fce01ad5a1b2153eb152e28e0024","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7"}}},"level":"info","message":"received a callback","requestID":"c225fce01ad5a1b2153eb152e28e0024"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"57bcb0c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd172134e-daf2-47bd-838d-64b179cc12a7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb0b1395-4a84-442d-a1b8-01014f7d47b2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.87967} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.033651,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57bcb0c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","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":"57bcb0c0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"57bcb0c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7 200 7ms","method":"GET","requestID":"57bcb0c0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"c225fce01ad5a1b2153eb152e28e0024","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.048","http_referrer":"","http_user_agent":"node-fetch","requestID":"c225fce01ad5a1b2153eb152e28e0024"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57c2f250-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"86b026f8-68a0-4bf8-a454-0748d54345dd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.921471} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.188678,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57c2f250-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","rebac_allow":false,"scope_allow":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":"57c2f250-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57c2f250-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling 200 9ms","method":"POST","requestID":"57c2f250-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57c478f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0e5ba5fe-1739-4b05-8863-81392bb3c7ca","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684604.9325643} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.653975,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57c478f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","rebac_allow":false,"scope_allow":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":"57c478f0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57c478f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling 200 11ms","method":"POST","requestID":"57c478f0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"8c57147afa417ca69ae20766667d28ed"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8c57147afa417ca69ae20766667d28ed","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/396960ec-9863-4b89-ab0b-2154d030e93e","requestID":"8c57147afa417ca69ae20766667d28ed"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.309495,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8c57147afa417ca69ae20766667d28ed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8c57147afa417ca69ae20766667d28ed","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/396960ec-9863-4b89-ab0b-2154d030e93e","requestID":"8c57147afa417ca69ae20766667d28ed"} experiment-1 | {"level":"info","message":"GET /experiments/396960ec-9863-4b89-ab0b-2154d030e93e 200 12ms","method":"GET","requestID":"8c57147afa417ca69ae20766667d28ed","responseTime":12,"status":200,"url":"/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"} gateway-1 | {"time_local":"26/Aug/2024:15:03:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/396960ec-9863-4b89-ab0b-2154d030e93e HTTP/1.1","status": "200","body_bytes_sent":"1284","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8c57147afa417ca69ae20766667d28ed"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc","level":"info","message":"auth send jwt","requestID":"6882a1c3a3d0502f7e537a77554a917a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6882a1c3a3d0502f7e537a77554a917a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/396960ec-9863-4b89-ab0b-2154d030e93e","requestID":"6882a1c3a3d0502f7e537a77554a917a"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.015289,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6882a1c3a3d0502f7e537a77554a917a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6882a1c3a3d0502f7e537a77554a917a","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Attempting to finish experiment","requestID":"6882a1c3a3d0502f7e537a77554a917a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"57cdc7c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.914311,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:24Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57cdc7c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684604,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNH0.UfgCH4pD9mPOgT3VzwyIfVJtdwNT7KqKsYyEF9VK3rc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"57cdc7c0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","device":"7dc91f78-7700-4df0-b7aa-c627669ba69d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7","device":"32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","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/d172134e-daf2-47bd-838d-64b179cc12a7' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d172134e-daf2-47bd-838d-64b179cc12a7","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd172134e-daf2-47bd-838d-64b179cc12a7': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd172134e-daf2-47bd-838d-64b179cc12a7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"221d78a0-3efa-4a5a-aeac-c34d37820075","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.0111504} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"44a5866c405d0b768b5312c24bf1d89f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8a422cd8-0cd8-47c3-b47d-4bc04866d08e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.0114393} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"44a5866c405d0b768b5312c24bf1d89f","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"57cdc7c0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f9cd886fd55d358378aa7b689c793b46","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7"}}},"level":"info","message":"received a callback","requestID":"44a5866c405d0b768b5312c24bf1d89f"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f9cd886fd55d358378aa7b689c793b46","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7"}}},"level":"info","message":"received a callback","requestID":"f9cd886fd55d358378aa7b689c793b46"} device-1 | {"data":{"peerconnection":"d172134e-daf2-47bd-838d-64b179cc12a7","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"57cdc7c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7 204 45ms","method":"DELETE","requestID":"57cdc7c0-63bc-11ef-bd85-dbaeea89054b","responseTime":45,"status":204,"url":"/peerconnections/d172134e-daf2-47bd-838d-64b179cc12a7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"},"level":"info","message":"Successfully finished experiment","requestID":"6882a1c3a3d0502f7e537a77554a917a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57d82800-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3156808a-3c8a-4c12-9d0f-243f4f0f988a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.0629387} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.099204,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57d82800-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12","object_type":"device","rebac_allow":false,"scope_allow":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":"57d82800-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57d82800-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling 200 14ms","method":"POST","requestID":"57d82800-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F396960ec-9863-4b89-ab0b-2154d030e93e': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F396960ec-9863-4b89-ab0b-2154d030e93e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"8a72c806-ee42-4d94-b215-3ac925869c91","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.0701568} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a0e138a5-1677-4df9-b7ea-f8cb494e69a2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.0711722} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"6882a1c3a3d0502f7e537a77554a917a","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"57dae720-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7dc91f78-7700-4df0-b7aa-c627669ba69d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"214b747e-a375-46ed-9647-5e1207ce99c5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.080492} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.621135,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57dae720-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d","object_type":"device","rebac_allow":false,"scope_allow":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":"57dae720-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"57dae720-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling 200 13ms","method":"POST","requestID":"57dae720-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/396960ec-9863-4b89-ab0b-2154d030e93e","requestID":"6882a1c3a3d0502f7e537a77554a917a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/396960ec-9863-4b89-ab0b-2154d030e93e 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":"6882a1c3a3d0502f7e537a77554a917a"} experiment-1 | {"level":"info","message":"DELETE /experiments/396960ec-9863-4b89-ab0b-2154d030e93e 204 172ms","method":"DELETE","requestID":"6882a1c3a3d0502f7e537a77554a917a","responseTime":172,"status":204,"url":"/experiments/396960ec-9863-4b89-ab0b-2154d030e93e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 134ms","method":"POST","requestID":"44a5866c405d0b768b5312c24bf1d89f","responseTime":134,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 134ms","method":"POST","requestID":"f9cd886fd55d358378aa7b689c793b46","responseTime":134,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"44a5866c405d0b768b5312c24bf1d89f"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"f9cd886fd55d358378aa7b689c793b46"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0","level":"info","message":"auth send jwt","requestID":"ffaf38e3a15daebd15e4c50791d1bae1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ffaf38e3a15daebd15e4c50791d1bae1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ffaf38e3a15daebd15e4c50791d1bae1"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.980086,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:25Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2848","request_time":"0.683","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"60308730608745a1b756ed442c17b679"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ffaf38e3a15daebd15e4c50791d1bae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684605,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ffaf38e3a15daebd15e4c50791d1bae1","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2850","request_time":"0.679","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4d0c999f03aed42f3bec16fbf4354454"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7dc91f78-7700-4df0-b7aa-c627669ba69d' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/32e7ecc3-e0e7-46a2-a88b-e4f547de2f12' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ae808481-aeef-4206-9c07-e13b200468e6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.1794555} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ffaf38e3a15daebd15e4c50791d1bae1","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2efdb356-787f-46ee-b45e-e47b7be631e2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.1835592} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ffaf38e3a15daebd15e4c50791d1bae1","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"3afd54c6-b420-4844-ad95-a749d2cba612","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.1918588} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b7dda50b-b588-480c-b649-98fa549a4b36","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.1922038} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"ffaf38e3a15daebd15e4c50791d1bae1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.191827167Z"}]},"request_id":"0370e80c-7c67-4c6a-8b54-9250e3f59444","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.1954057} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ffaf38e3a15daebd15e4c50791d1bae1","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ffaf38e3a15daebd15e4c50791d1bae1"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ffaf38e3a15daebd15e4c50791d1bae1"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"ffaf38e3a15daebd15e4c50791d1bae1","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0","level":"info","message":"auth send jwt","requestID":"871cb12cf0ad49f1cfe234cf07cb4516"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"871cb12cf0ad49f1cfe234cf07cb4516","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"871cb12cf0ad49f1cfe234cf07cb4516"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.850626,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"871cb12cf0ad49f1cfe234cf07cb4516","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684605,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"871cb12cf0ad49f1cfe234cf07cb4516","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"25ee21b4-cbca-4f34-8439-c47cbd4a707c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.219436} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"871cb12cf0ad49f1cfe234cf07cb4516","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7740fe65-3e54-493c-ae3f-87c538787879","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.2241793} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"871cb12cf0ad49f1cfe234cf07cb4516","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"1c457b9c-34b5-44b3-9b02-82e75351eda4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.2398632} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"403dd892-3704-450b-968a-29a078bc2651","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.2400048} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"871cb12cf0ad49f1cfe234cf07cb4516","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.239839432Z"}]},"request_id":"c88afcb6-a87f-44a0-9894-b73009b0ecd2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.2435396} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"871cb12cf0ad49f1cfe234cf07cb4516","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"871cb12cf0ad49f1cfe234cf07cb4516"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"871cb12cf0ad49f1cfe234cf07cb4516"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"871cb12cf0ad49f1cfe234cf07cb4516","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0","level":"info","message":"auth send jwt","requestID":"275019f25ff394dac5990caa6821232b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"275019f25ff394dac5990caa6821232b","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"275019f25ff394dac5990caa6821232b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.864373,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"275019f25ff394dac5990caa6821232b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684605,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"275019f25ff394dac5990caa6821232b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.239839432Z"}]},"request_id":"5d5047e0-a8e1-48ab-9d16-a33f43761164","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.7478921} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"275019f25ff394dac5990caa6821232b","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fef7e022-88a0-4372-bbbf-ad0c0ced708b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.7558155} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"275019f25ff394dac5990caa6821232b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.239839432Z"}]},"request_id":"c1e437a7-3b9f-4394-8752-8270fa3291fc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684605.7677321} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"275019f25ff394dac5990caa6821232b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"275019f25ff394dac5990caa6821232b"} device-1 | {"level":"info","message":"PATCH /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3 200 34ms","method":"PATCH","requestID":"275019f25ff394dac5990caa6821232b","responseTime":34,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"275019f25ff394dac5990caa6821232b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0","level":"info","message":"auth send jwt","requestID":"9c8c8c78931481b15f864cd78f27c2b4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9c8c8c78931481b15f864cd78f27c2b4","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9c8c8c78931481b15f864cd78f27c2b4"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.248238,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9c8c8c78931481b15f864cd78f27c2b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684605,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwNX0.hKhy3a4vdfz_VzTXDk6X41x86bCPdBvyETz2P3z_FG0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9c8c8c78931481b15f864cd78f27c2b4","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9c8c8c78931481b15f864cd78f27c2b4"} gateway-1 | {"time_local":"26/Aug/2024:15:03:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9c8c8c78931481b15f864cd78f27c2b4"} device-1 | {"level":"info","message":"POST /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/websocket 200 19ms","method":"POST","requestID":"9c8c8c78931481b15f864cd78f27c2b4","responseTime":19,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"18a357d67b1c2c6a2af6e0c31b286705","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"18a357d67b1c2c6a2af6e0c31b286705","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/32091778-015a-4117-97b5-c34ee89ff2de/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":"18a357d67b1c2c6a2af6e0c31b286705"} device-1 | {"level":"info","message":"OPTIONS /devices/32091778-015a-4117-97b5-c34ee89ff2de/websocket 200 2ms","method":"OPTIONS","requestID":"18a357d67b1c2c6a2af6e0c31b286705","responseTime":2,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI","level":"info","message":"auth send jwt","requestID":"04e17e302ae5a354e937010013e5e8d8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"04e17e302ae5a354e937010013e5e8d8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"04e17e302ae5a354e937010013e5e8d8"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.42297,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"04e17e302ae5a354e937010013e5e8d8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"04e17e302ae5a354e937010013e5e8d8","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"04e17e302ae5a354e937010013e5e8d8"} gateway-1 | {"time_local":"26/Aug/2024:15:03:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/32091778-015a-4117-97b5-c34ee89ff2de/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":"04e17e302ae5a354e937010013e5e8d8"} device-1 | {"level":"info","message":"POST /devices/32091778-015a-4117-97b5-c34ee89ff2de/websocket 200 21ms","method":"POST","requestID":"04e17e302ae5a354e937010013e5e8d8","responseTime":21,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI","level":"info","message":"auth send jwt","requestID":"1d18100f6a4974db2ae5110ca537dede"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1d18100f6a4974db2ae5110ca537dede","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1d18100f6a4974db2ae5110ca537dede"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.256946,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1d18100f6a4974db2ae5110ca537dede","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1d18100f6a4974db2ae5110ca537dede","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.191827167Z"}]},"request_id":"8311d31a-8ad8-4342-9f3c-625be1b48855","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.3057694} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1d18100f6a4974db2ae5110ca537dede","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1d18100f6a4974db2ae5110ca537dede"} device-1 | {"level":"info","message":"GET /devices/32091778-015a-4117-97b5-c34ee89ff2de? 200 17ms","method":"GET","requestID":"1d18100f6a4974db2ae5110ca537dede","responseTime":17,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/32091778-015a-4117-97b5-c34ee89ff2de? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1d18100f6a4974db2ae5110ca537dede"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI","level":"info","message":"auth send jwt","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.297942,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.239839432Z"}]},"request_id":"dec850e4-f047-440d-bed4-2c30ad1cd4a8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.329693} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6"} gateway-1 | {"time_local":"26/Aug/2024:15:03:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6"} device-1 | {"level":"info","message":"GET /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3? 200 17ms","method":"GET","requestID":"dcabfceeb1f09e27dfc3d59f45e7f7d6","responseTime":17,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI","level":"info","message":"auth send jwt","requestID":"9512cb453f5c24b7512fe8e2197e5610"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9512cb453f5c24b7512fe8e2197e5610","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"9512cb453f5c24b7512fe8e2197e5610"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.221483,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9512cb453f5c24b7512fe8e2197e5610","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9512cb453f5c24b7512fe8e2197e5610","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Attempting to run experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Attempting to book experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully booked experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"593bd6b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"593bfdc0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.821675,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"593bd6b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"593bd6b0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.081726,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"593bfdc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"593bfdc0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.191827167Z"}]},"request_id":"33988e46-9037-4447-8772-0cc998af470f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.3979692} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"593bd6b0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.239839432Z"}]},"request_id":"3fbc07c0-1414-4133-b5f5-c4d6fa2ec73a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.3994567} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"593bfdc0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"593bd6b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/32091778-015a-4117-97b5-c34ee89ff2de? 200 20ms","method":"GET","requestID":"593bd6b0-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"593bfdc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3? 200 21ms","method":"GET","requestID":"593bfdc0-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Setting up experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully set up experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"594832c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"594880e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5948a7f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.946288,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"594832c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"594832c0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully running experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.819324,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"594880e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"594880e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8af3bb45-1ce9-4721-9ef8-e9a9235e1db8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.479103} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.314797,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5948a7f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","rebac_allow":false,"scope_allow":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":"5948a7f0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.191827167Z"}]},"request_id":"0551eeb9-5444-42af-b2cb-f8ce9acedfb1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.483754} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5948a7f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"594832c0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.239839432Z"}]},"request_id":"b4aadb62-19f8-4576-8590-f9e6165372ba","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.488609} device-1 | {"level":"info","message":"POST /devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling 200 18ms","method":"POST","requestID":"5948a7f0-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"594880e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"594c0350-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"594832c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/32091778-015a-4117-97b5-c34ee89ff2de? 200 30ms","method":"GET","requestID":"594832c0-63bc-11ef-bd85-dbaeea89054b","responseTime":30,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"594880e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3? 200 30ms","method":"GET","requestID":"594880e0-63bc-11ef-bd85-dbaeea89054b","responseTime":30,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3?"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a91555db-8291-4e58-ae5c-1a04cdf5f96e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.4998145} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F783dede1-537f-4f68-a376-86a2c99d639e#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F783dede1-537f-4f68-a376-86a2c99d639e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"fb26952b-5427-43de-8f21-c4100aeb3cad","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5004952} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c4e60268-dea0-4358-8b3d-1eaa7a691869","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5005455} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.767887,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"9512cb453f5c24b7512fe8e2197e5610","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"594d62e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"594c0350-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","rebac_allow":false,"scope_allow":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":"594c0350-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"594c0350-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling 200 15ms","method":"POST","requestID":"594c0350-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8959b4b6-baa3-4362-b2b1-7a7471687097","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5089989} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.399881,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"9512cb453f5c24b7512fe8e2197e5610"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"594d62e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","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":"26/Aug/2024:15:03:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.173","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"level":"info","message":"POST /experiments? 201 167ms","method":"POST","requestID":"9512cb453f5c24b7512fe8e2197e5610","responseTime":167,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"594d62e0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"594d62e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling 200 12ms","method":"POST","requestID":"594d62e0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI","level":"info","message":"auth send jwt","requestID":"4dad23a62dd259546ed91b4f0dd3455a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"594facd0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4dad23a62dd259546ed91b4f0dd3455a","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4dad23a62dd259546ed91b4f0dd3455a"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.62648,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4dad23a62dd259546ed91b4f0dd3455a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4dad23a62dd259546ed91b4f0dd3455a","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b5e990e-cc85-4d14-9147-df3f66cb0171","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5230417} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.601716,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"594facd0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","rebac_allow":false,"scope_allow":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":"594facd0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.191827167Z"}]},"request_id":"3baa8307-2b4c-4c23-b17a-63f21c4ed95f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5293546} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"594facd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling 200 13ms","method":"POST","requestID":"594facd0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4dad23a62dd259546ed91b4f0dd3455a","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Building connection plan","requestID":"9512cb453f5c24b7512fe8e2197e5610"} 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":"713d62d6-4ab5-4488-a3ba-63411266ab08"},{"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":"3c69630d-0d09-43bb-9151-873f3fcf3ad3"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"6e452bd4-ddc1-497a-ad52-b8a9758dce81"}]},"level":"info","message":"Built pairwise service configurations","requestID":"9512cb453f5c24b7512fe8e2197e5610"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"9512cb453f5c24b7512fe8e2197e5610"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4dad23a62dd259546ed91b4f0dd3455a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/32091778-015a-4117-97b5-c34ee89ff2de? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4dad23a62dd259546ed91b4f0dd3455a"} device-1 | {"level":"info","message":"GET /devices/32091778-015a-4117-97b5-c34ee89ff2de? 200 16ms","method":"GET","requestID":"4dad23a62dd259546ed91b4f0dd3455a","responseTime":16,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de?"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.661323,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI","level":"info","message":"auth send jwt","requestID":"90f387ae32ca78947cc60659c78d240c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"90f387ae32ca78947cc60659c78d240c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"90f387ae32ca78947cc60659c78d240c"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.076868,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"90f387ae32ca78947cc60659c78d240c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684607,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwN30.GD2ejaNzH7IARXXcUBAuTG2HijUYh_ZDO7CzNs5jILI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"90f387ae32ca78947cc60659c78d240c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"df97a0ba-9464-4a6b-bea7-ef15a651d76e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5492976} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c52e09c1-9f7b-47c1-bafe-1c44d3d2dd3e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5496142} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:25.239839432Z"}]},"request_id":"edbf20ed-3910-4da1-904f-b52e9ce2e393","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.5502837} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"90f387ae32ca78947cc60659c78d240c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"90f387ae32ca78947cc60659c78d240c"} gateway-1 | {"time_local":"26/Aug/2024:15:03:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"90f387ae32ca78947cc60659c78d240c"} device-1 | {"level":"info","message":"GET /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3? 200 14ms","method":"GET","requestID":"90f387ae32ca78947cc60659c78d240c","responseTime":14,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3'","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3'","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"59521dd0-63bc-11ef-bd85-dbaeea89054b"} 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":"59521dd0-63bc-11ef-bd85-dbaeea89054b","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":"59521dd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3","device":"32091778-015a-4117-97b5-c34ee89ff2de","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"9512cb453f5c24b7512fe8e2197e5610"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"595bbac0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f6b8eda1-a3d1-47fc-a305-a65618e1e87f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.600347} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.601488,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"595bbac0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"595bbac0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"595bbac0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling 200 8ms","method":"POST","requestID":"595bbac0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"595d4160-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:27Z"} device-1 | {"device":"32091778-015a-4117-97b5-c34ee89ff2de","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"32091778-015a-4117-97b5-c34ee89ff2de","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"66bb4a65-0336-4f4e-8089-c3a8bc457cb3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684607.6110487} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.077184,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"595d4160-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","rebac_allow":false,"scope_allow":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":"595d4160-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"595d4160-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling 200 9ms","method":"POST","requestID":"595d4160-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling"} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"e76ab7a8-7b08-4cf2-b230-e82e825e8df3","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 5450938095232082435 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:Ulyp\r\na=ice-pwd:t5lgrR+PzHroHlm1gwvbHCLG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 8E:E5:D6:7F:5D:5F:BB:17:4B:BE:CF:A8:5A:49:7B:CA:0C:EC:22:AD:3E:86:35:54:7B:F1:43:9D:81:FA:C4:34\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"32091778-015a-4117-97b5-c34ee89ff2de","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1315275174 1 udp 2113937151 0561580c-3339-425b-8693-071e950952c7.local 52896 typ host generation 0 ufrag Ulyp network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"32091778-015a-4117-97b5-c34ee89ff2de","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"32091778-015a-4117-97b5-c34ee89ff2de","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/e76ab7a8-7b08-4cf2-b230-e82e825e8df3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e76ab7a8-7b08-4cf2-b230-e82e825e8df3","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"content":{"candidate":"candidate:3712884917 1 udp 1677729535 141.24.211.56 52896 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag Ulyp network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"32091778-015a-4117-97b5-c34ee89ff2de","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fb60cbb64deedb718cd72d573c182798","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fb60cbb64deedb718cd72d573c182798","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"32091778-015a-4117-97b5-c34ee89ff2de","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/32091778-015a-4117-97b5-c34ee89ff2de'"} 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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3"}}},"level":"info","message":"received a callback","requestID":"fb60cbb64deedb718cd72d573c182798"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"fb60cbb64deedb718cd72d573c182798","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"fb60cbb64deedb718cd72d573c182798"} device-1 | {"data":{"peerconnection":"e76ab7a8-7b08-4cf2-b230-e82e825e8df3","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"32091778-015a-4117-97b5-c34ee89ff2de","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"e76ab7a8-7b08-4cf2-b230-e82e825e8df3","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"32091778-015a-4117-97b5-c34ee89ff2de","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/e76ab7a8-7b08-4cf2-b230-e82e825e8df3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e76ab7a8-7b08-4cf2-b230-e82e825e8df3","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0d43541c7091f0ba28a4fec8b7b22a4e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0d43541c7091f0ba28a4fec8b7b22a4e","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3"}}},"level":"info","message":"received a callback","requestID":"0d43541c7091f0ba28a4fec8b7b22a4e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"5a9aa360-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe76ab7a8-7b08-4cf2-b230-e82e825e8df3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7ede88c-a99e-4f6d-835c-0b953cdcbf1b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.6911306} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.274115,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5a9aa360-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3","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":"5a9aa360-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"5a9aa360-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3 200 9ms","method":"GET","requestID":"5a9aa360-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 33ms","method":"POST","requestID":"0d43541c7091f0ba28a4fec8b7b22a4e","responseTime":33,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.036","http_referrer":"","http_user_agent":"node-fetch","requestID":"0d43541c7091f0ba28a4fec8b7b22a4e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5a9ee920-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a94e414a-6247-4c36-a36b-34414958e5b7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.719518} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.350834,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5a9ee920-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","rebac_allow":false,"scope_allow":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":"5a9ee920-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5a9ee920-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling 200 10ms","method":"POST","requestID":"5a9ee920-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5aa0e4f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"07903c92-7d7c-40fb-bc54-352bf1ca9fe9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.7317219} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.716665,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5aa0e4f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5aa0e4f0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5aa0e4f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling 200 9ms","method":"POST","requestID":"5aa0e4f0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwOX0.hX23kcRIF1KJM_NfSOhCj6ec3vK3AbFnYZQ9CacRN54","level":"info","message":"auth send jwt","requestID":"289d0f0d49d5239dd9e95756cab7efd4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"289d0f0d49d5239dd9e95756cab7efd4","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/783dede1-537f-4f68-a376-86a2c99d639e","requestID":"289d0f0d49d5239dd9e95756cab7efd4"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.216378,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"289d0f0d49d5239dd9e95756cab7efd4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684609,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwOX0.hX23kcRIF1KJM_NfSOhCj6ec3vK3AbFnYZQ9CacRN54"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"289d0f0d49d5239dd9e95756cab7efd4","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/783dede1-537f-4f68-a376-86a2c99d639e","requestID":"289d0f0d49d5239dd9e95756cab7efd4"} gateway-1 | {"time_local":"26/Aug/2024:15:03:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/783dede1-537f-4f68-a376-86a2c99d639e HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"289d0f0d49d5239dd9e95756cab7efd4"} experiment-1 | {"level":"info","message":"GET /experiments/783dede1-537f-4f68-a376-86a2c99d639e 200 16ms","method":"GET","requestID":"289d0f0d49d5239dd9e95756cab7efd4","responseTime":16,"status":200,"url":"/experiments/783dede1-537f-4f68-a376-86a2c99d639e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwOX0.hX23kcRIF1KJM_NfSOhCj6ec3vK3AbFnYZQ9CacRN54","level":"info","message":"auth send jwt","requestID":"316e5612b1b33913d74a8bb6366a59d1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"316e5612b1b33913d74a8bb6366a59d1","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/783dede1-537f-4f68-a376-86a2c99d639e","requestID":"316e5612b1b33913d74a8bb6366a59d1"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.290014,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"316e5612b1b33913d74a8bb6366a59d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684609,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwOX0.hX23kcRIF1KJM_NfSOhCj6ec3vK3AbFnYZQ9CacRN54"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"316e5612b1b33913d74a8bb6366a59d1","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Attempting to finish experiment","requestID":"316e5612b1b33913d74a8bb6366a59d1"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"5aafb200-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.156235,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5aafb200-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684609,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwOX0.hX23kcRIF1KJM_NfSOhCj6ec3vK3AbFnYZQ9CacRN54"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5aafb200-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3","device":"32091778-015a-4117-97b5-c34ee89ff2de","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/e76ab7a8-7b08-4cf2-b230-e82e825e8df3' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e76ab7a8-7b08-4cf2-b230-e82e825e8df3","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"9f896900-e0e9-42f5-a7f0-1f838d8488e3","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe76ab7a8-7b08-4cf2-b230-e82e825e8df3': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe76ab7a8-7b08-4cf2-b230-e82e825e8df3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"19e33a4f-f580-44a4-9287-445d6963c823","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.8479197} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a042d4c600e2af06468706257bd9fc60","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"a042d4c600e2af06468706257bd9fc60","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"21ad16b3-b2a9-4337-b3b7-b657c588aac9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.8485835} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"5aafb200-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3"}}},"level":"info","message":"received a callback","requestID":"a042d4c600e2af06468706257bd9fc60"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9c7f39842a2cb3adfbd1715747e76a4b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9c7f39842a2cb3adfbd1715747e76a4b","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3"}}},"level":"info","message":"received a callback","requestID":"9c7f39842a2cb3adfbd1715747e76a4b"} device-1 | {"data":{"peerconnection":"e76ab7a8-7b08-4cf2-b230-e82e825e8df3","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"5aafb200-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3 204 48ms","method":"DELETE","requestID":"5aafb200-63bc-11ef-bd85-dbaeea89054b","responseTime":48,"status":204,"url":"/peerconnections/e76ab7a8-7b08-4cf2-b230-e82e825e8df3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/783dede1-537f-4f68-a376-86a2c99d639e"},"level":"info","message":"Successfully finished experiment","requestID":"316e5612b1b33913d74a8bb6366a59d1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5abaae80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F32091778-015a-4117-97b5-c34ee89ff2de","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"544895e3-6204-437a-ac86-b1b3d5ffb45c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.9032836} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.977745,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5abaae80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/32091778-015a-4117-97b5-c34ee89ff2de","object_type":"device","rebac_allow":false,"scope_allow":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":"5abaae80-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5abaae80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling 200 16ms","method":"POST","requestID":"5abaae80-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/devices/32091778-015a-4117-97b5-c34ee89ff2de/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F783dede1-537f-4f68-a376-86a2c99d639e': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F783dede1-537f-4f68-a376-86a2c99d639e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"6963be9e-a94c-42e9-bbd2-fab1eecfcb1b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.9141128} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b03796ea-f4e7-40bb-93bb-e672f287a817","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.9146674} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5abdbbc0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"316e5612b1b33913d74a8bb6366a59d1","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9f896900-e0e9-42f5-a7f0-1f838d8488e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d100ac7-e277-4df1-9230-b1860cc995f4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684609.923424} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.128616,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5abdbbc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3","object_type":"device","rebac_allow":false,"scope_allow":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":"5abdbbc0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5abdbbc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling 200 14ms","method":"POST","requestID":"5abdbbc0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/9f896900-e0e9-42f5-a7f0-1f838d8488e3/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/783dede1-537f-4f68-a376-86a2c99d639e","requestID":"316e5612b1b33913d74a8bb6366a59d1"} gateway-1 | {"time_local":"26/Aug/2024:15:03:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/783dede1-537f-4f68-a376-86a2c99d639e 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":"316e5612b1b33913d74a8bb6366a59d1"} gateway-1 | {"time_local":"26/Aug/2024:15:03:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2799","request_time":"4.192","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c53c1668a046e7cdb5250e4f446a6536"} experiment-1 | {"level":"info","message":"DELETE /experiments/783dede1-537f-4f68-a376-86a2c99d639e 204 181ms","method":"DELETE","requestID":"316e5612b1b33913d74a8bb6366a59d1","responseTime":181,"status":204,"url":"/experiments/783dede1-537f-4f68-a376-86a2c99d639e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 139ms","method":"POST","requestID":"a042d4c600e2af06468706257bd9fc60","responseTime":139,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.145","http_referrer":"","http_user_agent":"node-fetch","requestID":"a042d4c600e2af06468706257bd9fc60"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"9c7f39842a2cb3adfbd1715747e76a4b","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.144","http_referrer":"","http_user_agent":"node-fetch","requestID":"9c7f39842a2cb3adfbd1715747e76a4b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwOX0.hX23kcRIF1KJM_NfSOhCj6ec3vK3AbFnYZQ9CacRN54","level":"info","message":"auth send jwt","requestID":"dc3a399117b13c36402c390e1557957e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dc3a399117b13c36402c390e1557957e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"dc3a399117b13c36402c390e1557957e"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.932493,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dc3a399117b13c36402c390e1557957e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684609,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYwOX0.hX23kcRIF1KJM_NfSOhCj6ec3vK3AbFnYZQ9CacRN54"} gateway-1 | {"time_local":"26/Aug/2024:15:03:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2709","request_time":"2.730","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"689498b0d17889195e3eccb56b81c9af"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dc3a399117b13c36402c390e1557957e","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/9f896900-e0e9-42f5-a7f0-1f838d8488e3' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"60dbd9b0-0802-4f41-96f7-157fc93ebb9c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0143342} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"dc3a399117b13c36402c390e1557957e","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7f873a14-545b-45bc-a4d1-303884ef80dd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0194445} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"dc3a399117b13c36402c390e1557957e","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/32091778-015a-4117-97b5-c34ee89ff2de' closed"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a6537bb8-dc28-485d-95a8-9bc775df0c5a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.041352} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46016d8e-f531-41ef-afa9-06aedd466213","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0422451} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"dc3a399117b13c36402c390e1557957e","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.041308994Z"}]},"request_id":"6257b8b7-6bfc-4254-84ce-6de8764260fd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0460882} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"dc3a399117b13c36402c390e1557957e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"dc3a399117b13c36402c390e1557957e"} gateway-1 | {"time_local":"26/Aug/2024:15:03:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dc3a399117b13c36402c390e1557957e"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"dc3a399117b13c36402c390e1557957e","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMH0.GsEL67CwT8UM2FUR_rAxorolJ4Ix962fsx7426ie5Qc","level":"info","message":"auth send jwt","requestID":"c06e6060cd1c3437f80c9e50f802feba"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c06e6060cd1c3437f80c9e50f802feba","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c06e6060cd1c3437f80c9e50f802feba"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.83993,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c06e6060cd1c3437f80c9e50f802feba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684610,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMH0.GsEL67CwT8UM2FUR_rAxorolJ4Ix962fsx7426ie5Qc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c06e6060cd1c3437f80c9e50f802feba","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"23ec5aa2-b454-4c06-b2a2-a77956c445bf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.068833} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c06e6060cd1c3437f80c9e50f802feba","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3c344bc0-9cad-4314-8abe-70530a1f9e41","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0732183} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c06e6060cd1c3437f80c9e50f802feba","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"350faa4c-92d8-4dc7-bf78-f6957049aeda","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0887735} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7114f600-5eae-4e29-ad29-15122ba613d3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0889502} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"c06e6060cd1c3437f80c9e50f802feba","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.088750571Z"}]},"request_id":"363d14bc-a1cc-4595-8183-25a9ebf2ff5b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.0932221} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c06e6060cd1c3437f80c9e50f802feba","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c06e6060cd1c3437f80c9e50f802feba"} gateway-1 | {"time_local":"26/Aug/2024:15:03:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c06e6060cd1c3437f80c9e50f802feba"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"c06e6060cd1c3437f80c9e50f802feba","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMH0.GsEL67CwT8UM2FUR_rAxorolJ4Ix962fsx7426ie5Qc","level":"info","message":"auth send jwt","requestID":"26f705003b20ee642f66cd7857d69734"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"26f705003b20ee642f66cd7857d69734","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"26f705003b20ee642f66cd7857d69734"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.107428,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"26f705003b20ee642f66cd7857d69734","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684610,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMH0.GsEL67CwT8UM2FUR_rAxorolJ4Ix962fsx7426ie5Qc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"26f705003b20ee642f66cd7857d69734","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.088750571Z"}]},"request_id":"be206b1a-12f1-4ff9-afc5-6ac3e36a4485","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.5972686} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"26f705003b20ee642f66cd7857d69734","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e9270d03-f712-4193-937a-68dd939a6ca5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.604493} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"26f705003b20ee642f66cd7857d69734","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.088750571Z"}]},"request_id":"6b8fc2ef-ded5-4f64-b450-590fd70ac46b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684610.616954} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"26f705003b20ee642f66cd7857d69734","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"26f705003b20ee642f66cd7857d69734"} device-1 | {"level":"info","message":"PATCH /devices/beacff5f-895b-4f78-9ece-0cf715c68a59 200 35ms","method":"PATCH","requestID":"26f705003b20ee642f66cd7857d69734","responseTime":35,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59"} gateway-1 | {"time_local":"26/Aug/2024:15:03:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/beacff5f-895b-4f78-9ece-0cf715c68a59 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"26f705003b20ee642f66cd7857d69734"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMH0.GsEL67CwT8UM2FUR_rAxorolJ4Ix962fsx7426ie5Qc","level":"info","message":"auth send jwt","requestID":"500c582ceefe963c6b369118af0db976"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"500c582ceefe963c6b369118af0db976","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"500c582ceefe963c6b369118af0db976"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:30Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.410702,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"500c582ceefe963c6b369118af0db976","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684610,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMH0.GsEL67CwT8UM2FUR_rAxorolJ4Ix962fsx7426ie5Qc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"500c582ceefe963c6b369118af0db976","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"500c582ceefe963c6b369118af0db976"} gateway-1 | {"time_local":"26/Aug/2024:15:03:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/beacff5f-895b-4f78-9ece-0cf715c68a59/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"500c582ceefe963c6b369118af0db976"} device-1 | {"level":"info","message":"POST /devices/beacff5f-895b-4f78-9ece-0cf715c68a59/websocket 200 22ms","method":"POST","requestID":"500c582ceefe963c6b369118af0db976","responseTime":22,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1919c287d15945c5cf19dcc3ade5f05e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1919c287d15945c5cf19dcc3ade5f05e","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/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":"1919c287d15945c5cf19dcc3ade5f05e"} device-1 | {"level":"info","message":"OPTIONS /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/websocket 200 1ms","method":"OPTIONS","requestID":"1919c287d15945c5cf19dcc3ade5f05e","responseTime":1,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0","level":"info","message":"auth send jwt","requestID":"a7dc44ea384200b527938aa8cd666590"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a7dc44ea384200b527938aa8cd666590","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a7dc44ea384200b527938aa8cd666590"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.224937,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a7dc44ea384200b527938aa8cd666590","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a7dc44ea384200b527938aa8cd666590","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a7dc44ea384200b527938aa8cd666590"} gateway-1 | {"time_local":"26/Aug/2024:15:03:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/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":"a7dc44ea384200b527938aa8cd666590"} device-1 | {"level":"info","message":"POST /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/websocket 200 20ms","method":"POST","requestID":"a7dc44ea384200b527938aa8cd666590","responseTime":20,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0","level":"info","message":"auth send jwt","requestID":"633a887dfe38b189a407909f7b173883"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"633a887dfe38b189a407909f7b173883","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"633a887dfe38b189a407909f7b173883"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.120603,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"633a887dfe38b189a407909f7b173883","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"633a887dfe38b189a407909f7b173883","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.041308994Z"}]},"request_id":"271c5cae-f08e-44b0-a099-e6b2708b71f8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.1460836} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"633a887dfe38b189a407909f7b173883","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"633a887dfe38b189a407909f7b173883"} gateway-1 | {"time_local":"26/Aug/2024:15:03:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"633a887dfe38b189a407909f7b173883"} device-1 | {"level":"info","message":"GET /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9? 200 15ms","method":"GET","requestID":"633a887dfe38b189a407909f7b173883","responseTime":15,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0","level":"info","message":"auth send jwt","requestID":"397ec7b91d770b1e5021de5cc4c21409"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"397ec7b91d770b1e5021de5cc4c21409","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"397ec7b91d770b1e5021de5cc4c21409"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.142793,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"397ec7b91d770b1e5021de5cc4c21409","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"397ec7b91d770b1e5021de5cc4c21409","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.088750571Z"}]},"request_id":"8dc2bc8f-48fe-4e8e-ab41-326124af9596","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.16624} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"397ec7b91d770b1e5021de5cc4c21409","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"397ec7b91d770b1e5021de5cc4c21409"} device-1 | {"level":"info","message":"GET /devices/beacff5f-895b-4f78-9ece-0cf715c68a59? 200 13ms","method":"GET","requestID":"397ec7b91d770b1e5021de5cc4c21409","responseTime":13,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/beacff5f-895b-4f78-9ece-0cf715c68a59? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"397ec7b91d770b1e5021de5cc4c21409"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0","level":"info","message":"auth send jwt","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.035296,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Attempting to run experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Attempting to book experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully booked experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5c1d4bc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5c1d99e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.158881,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c1d4bc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c1d4bc0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.953053,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c1d99e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c1d99e0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.041308994Z"}]},"request_id":"86a78e3b-4735-4b47-84cb-da8e3b7900ae","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.2314405} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5c1d4bc0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.088750571Z"}]},"request_id":"d8db4169-3fd2-4349-b659-d9c908081ab1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.232149} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5c1d99e0-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c1d4bc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9? 200 15ms","method":"GET","requestID":"5c1d4bc0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c1d99e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/beacff5f-895b-4f78-9ece-0cf715c68a59? 200 14ms","method":"GET","requestID":"5c1d99e0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Setting up experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully set up experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5c275de0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5c27ac00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5c27fa20-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.042574,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully running experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c275de0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c275de0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.63229,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c27ac00-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5c27ac00-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f3331aa1-d19b-46ed-b388-9db6f728ea5b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.2987797} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.99417,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c27fa20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","rebac_allow":false,"scope_allow":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":"5c27fa20-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.088750571Z"}]},"request_id":"42c685fa-abea-4746-b9f3-c942b7a6b769","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3023138} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.041308994Z"}]},"request_id":"8a9e8fca-5ec6-4292-a1d5-768d6effde12","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3031104} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5c27ac00-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5c275de0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c27ac00-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F974882e6-4001-4ed8-83ff-cb01c92687fb#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F974882e6-4001-4ed8-83ff-cb01c92687fb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"d1e984de-381f-44c9-9070-05892bf99908","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3134878} device-1 | {"level":"info","message":"GET /devices/beacff5f-895b-4f78-9ece-0cf715c68a59? 200 26ms","method":"GET","requestID":"5c27ac00-63bc-11ef-bd85-dbaeea89054b","responseTime":26,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d4acc724-1dfb-4ee6-b612-bf2dc9fe7ec0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.313743} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5c27fa20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling 200 24ms","method":"POST","requestID":"5c27fa20-63bc-11ef-bd85-dbaeea89054b","responseTime":24,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c275de0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9? 200 30ms","method":"GET","requestID":"5c275de0-63bc-11ef-bd85-dbaeea89054b","responseTime":30,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5c2bf1c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5c2c66f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed63cedd-fb94-455d-9655-de96f5c086f2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3211017} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.883711,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c2bf1c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","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":"26/Aug/2024:15:03:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.151","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c2bf1c0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /experiments? 201 146ms","method":"POST","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0","responseTime":146,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71ee01dc-0c50-485e-8cf4-ed0c5ac4d1a0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3239589} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.62709,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c2c66f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","rebac_allow":false,"scope_allow":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":"5c2c66f0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5c2bf1c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling 200 10ms","method":"POST","requestID":"5c2bf1c0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0","level":"info","message":"auth send jwt","requestID":"4805aaab450e92bf8c1ff15583a2b4f7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4805aaab450e92bf8c1ff15583a2b4f7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4805aaab450e92bf8c1ff15583a2b4f7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5c2c66f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling 200 12ms","method":"POST","requestID":"5c2c66f0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.82032,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4805aaab450e92bf8c1ff15583a2b4f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5c2e89d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4805aaab450e92bf8c1ff15583a2b4f7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8bb37b39-5a9a-4b48-a046-8f293b447f24","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3386068} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.041308994Z"}]},"request_id":"dd17a8e1-c246-44fe-9265-527b7643c022","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3387892} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"4805aaab450e92bf8c1ff15583a2b4f7","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.839207,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c2e89d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c2e89d0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4805aaab450e92bf8c1ff15583a2b4f7"} gateway-1 | {"time_local":"26/Aug/2024:15:03:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4805aaab450e92bf8c1ff15583a2b4f7"} device-1 | {"level":"info","message":"GET /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9? 200 15ms","method":"GET","requestID":"4805aaab450e92bf8c1ff15583a2b4f7","responseTime":15,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5c2e89d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling 200 12ms","method":"POST","requestID":"5c2e89d0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Building connection plan","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} 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":"f4bd231a-0e86-4eee-bba9-10b179a1c72a"},{"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":"ff02e0a7-4766-4128-9a99-7398f4852f5d"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"65915358-1358-486e-8dac-ab0fcafe7861"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0","level":"info","message":"auth send jwt","requestID":"2d2c987dc399a73a3f0937ac501e400a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2d2c987dc399a73a3f0937ac501e400a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2d2c987dc399a73a3f0937ac501e400a"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.726897,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.665169,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2d2c987dc399a73a3f0937ac501e400a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684612,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxMn0.dLbcVoAkHqGo4KZa0rJiPMFdl_wCeaKxVRlqvz-qEY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2d2c987dc399a73a3f0937ac501e400a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:30.088750571Z"}]},"request_id":"d7d35b4a-6603-43a0-bebe-bf88efc61e0b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3571794} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2d2c987dc399a73a3f0937ac501e400a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2d2c987dc399a73a3f0937ac501e400a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/beacff5f-895b-4f78-9ece-0cf715c68a59? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2d2c987dc399a73a3f0937ac501e400a"} device-1 | {"level":"info","message":"GET /devices/beacff5f-895b-4f78-9ece-0cf715c68a59? 200 12ms","method":"GET","requestID":"2d2c987dc399a73a3f0937ac501e400a","responseTime":12,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"790f43f8-3717-4625-bea4-22a15a122dbc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3618474} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"16c96132-180f-4ee8-9852-3b5257cb89fb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.3620567} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25'","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25'","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b"} 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":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b","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":"5c30d3c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c4cd2c99b9d6c26fefa0e3bd3a4934f0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5c38ea10-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e5aca5d7-1019-4ee2-99c9-7f5e4f1e7c7e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.4047632} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.082531,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c38ea10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","rebac_allow":false,"scope_allow":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":"5c38ea10-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5c38ea10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling 200 7ms","method":"POST","requestID":"5c38ea10-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5c3a49a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"11ecf1bd-64ab-4c55-af25-18e2978c5554","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684612.4143236} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.142389,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5c3a49a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c3a49a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5c3a49a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling 200 8ms","method":"POST","requestID":"5c3a49a0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling"} device-1 | {"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 8084633259922397029 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:f+N3\r\na=ice-pwd:DkXNCyvINgu2wlXZM/vJB8R8\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D5:3C:A3:4B:FF:FC:6D:0B:46:16:36:42:F6:4C:D2:FD:8D:41:01:A4:95:30:B8:6E:EF:C4:A3:AA:90:70:46:FB\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8c8b17f4f2bee02f86be6c95d5cf3002","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8c8b17f4f2bee02f86be6c95d5cf3002","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25"}}},"level":"info","message":"received a callback","requestID":"8c8b17f4f2bee02f86be6c95d5cf3002"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"8c8b17f4f2bee02f86be6c95d5cf3002","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"8c8b17f4f2bee02f86be6c95d5cf3002"} device-1 | {"content":{"candidate":"candidate:245731544 1 udp 2113937151 4e1a63e3-8a68-4804-a4e7-d3192ad6245d.local 60450 typ host generation 0 ufrag f+N3 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2643341771 1 udp 1677729535 141.24.211.56 60450 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag f+N3 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:597854777 1 udp 33562623 141.24.210.113 60404 typ relay raddr 141.24.211.56 rport 60450 generation 0 ufrag f+N3 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","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/ee415ef7-93c3-495a-9864-4f71bdfff7f9'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9'"} device-1 | {"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"peerconnection":"bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","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/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c8e7e4787e0eca4294b28455dad23571","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c8e7e4787e0eca4294b28455dad23571","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25"}}},"level":"info","message":"received a callback","requestID":"c8e7e4787e0eca4294b28455dad23571"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"5d7c3f80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8be5d4dc-0590-4101-a8b3-35748e79879e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.525967} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.71322,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5d7c3f80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","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":"5d7c3f80-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"5d7c3f80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25 200 11ms","method":"GET","requestID":"5d7c3f80-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"c8e7e4787e0eca4294b28455dad23571","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.037","http_referrer":"","http_user_agent":"node-fetch","requestID":"c8e7e4787e0eca4294b28455dad23571"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d80d360-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"20eb1fee-21e0-4b26-9bd6-ed6a28d14275","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.5554118} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.345609,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5d80d360-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","rebac_allow":false,"scope_allow":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":"5d80d360-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d80d360-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling 200 10ms","method":"POST","requestID":"5d80d360-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d82a820-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"353e51f6-bb27-44bc-8044-b9a6d06f0893","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.5677783} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.973159,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5d82a820-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","rebac_allow":false,"scope_allow":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":"5d82a820-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d82a820-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling 200 11ms","method":"POST","requestID":"5d82a820-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw","level":"info","message":"auth send jwt","requestID":"0ab94c0a506ce1e09eba80c73da45efc"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0ab94c0a506ce1e09eba80c73da45efc","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","requestID":"0ab94c0a506ce1e09eba80c73da45efc"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.914643,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0ab94c0a506ce1e09eba80c73da45efc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684614,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0ab94c0a506ce1e09eba80c73da45efc","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","requestID":"0ab94c0a506ce1e09eba80c73da45efc"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0ab94c0a506ce1e09eba80c73da45efc"} experiment-1 | {"level":"info","message":"GET /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb 200 14ms","method":"GET","requestID":"0ab94c0a506ce1e09eba80c73da45efc","responseTime":14,"status":200,"url":"/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw","level":"info","message":"auth send jwt","requestID":"8356dd5ab973231a272bb48930e3f83b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8356dd5ab973231a272bb48930e3f83b","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","requestID":"8356dd5ab973231a272bb48930e3f83b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.997353,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8356dd5ab973231a272bb48930e3f83b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684614,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8356dd5ab973231a272bb48930e3f83b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Attempting to finish experiment","requestID":"8356dd5ab973231a272bb48930e3f83b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"5d8fa070-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.203838,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5d8fa070-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684614,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5d8fa070-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","device":"ee415ef7-93c3-495a-9864-4f71bdfff7f9","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"beacff5f-895b-4f78-9ece-0cf715c68a59","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbf82dcfd-0cb3-4f1e-a79f-fcec9345fc25': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"c71aacc7-5343-486b-ab81-201e1d3f2a97","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.671335} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bbfdfc88b73165c85c2de8ec7b34daf1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6f50f0d8-ff34-4884-8a15-068e56551317","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.6717944} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bbfdfc88b73165c85c2de8ec7b34daf1","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"5d8fa070-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"05247950844df39dfe1061837bdf5bf6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25"}}},"level":"info","message":"received a callback","requestID":"bbfdfc88b73165c85c2de8ec7b34daf1"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"05247950844df39dfe1061837bdf5bf6","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25"}}},"level":"info","message":"received a callback","requestID":"05247950844df39dfe1061837bdf5bf6"} device-1 | {"data":{"peerconnection":"bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"5d8fa070-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25 204 47ms","method":"DELETE","requestID":"5d8fa070-63bc-11ef-bd85-dbaeea89054b","responseTime":47,"status":204,"url":"/peerconnections/bf82dcfd-0cb3-4f1e-a79f-fcec9345fc25"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"},"level":"info","message":"Successfully finished experiment","requestID":"8356dd5ab973231a272bb48930e3f83b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d9a4ed0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fbeacff5f-895b-4f78-9ece-0cf715c68a59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f6ec7725-01a0-4e17-8d18-0e0a360571a7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.724122} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.465526,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5d9a4ed0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/beacff5f-895b-4f78-9ece-0cf715c68a59","object_type":"device","rebac_allow":false,"scope_allow":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":"5d9a4ed0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d9a4ed0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F974882e6-4001-4ed8-83ff-cb01c92687fb': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F974882e6-4001-4ed8-83ff-cb01c92687fb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"9210dc1e-8080-4c8e-8d59-8dd05c6a79c0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.7311387} device-1 | {"level":"info","message":"POST /devices/beacff5f-895b-4f78-9ece-0cf715c68a59/signaling 200 14ms","method":"POST","requestID":"5d9a4ed0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/beacff5f-895b-4f78-9ece-0cf715c68a59/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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0d4ce040-cd36-43a3-968f-943729c37c75","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.731731} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"8356dd5ab973231a272bb48930e3f83b","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5d9d0df0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fee415ef7-93c3-495a-9864-4f71bdfff7f9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3c787758-9394-4aa8-b5fc-d2839019bb20","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.7414548} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.772409,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5d9d0df0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9","object_type":"device","rebac_allow":false,"scope_allow":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":"5d9d0df0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5d9d0df0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling 200 13ms","method":"POST","requestID":"5d9d0df0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/ee415ef7-93c3-495a-9864-4f71bdfff7f9/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb","requestID":"8356dd5ab973231a272bb48930e3f83b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.179","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8356dd5ab973231a272bb48930e3f83b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3190","request_time":"4.155","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7e5fd1f9bb69a688cad3ec19c6b941d7"} experiment-1 | {"level":"info","message":"DELETE /experiments/974882e6-4001-4ed8-83ff-cb01c92687fb 204 175ms","method":"DELETE","requestID":"8356dd5ab973231a272bb48930e3f83b","responseTime":175,"status":204,"url":"/experiments/974882e6-4001-4ed8-83ff-cb01c92687fb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"bbfdfc88b73165c85c2de8ec7b34daf1","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.141","http_referrer":"","http_user_agent":"node-fetch","requestID":"bbfdfc88b73165c85c2de8ec7b34daf1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"05247950844df39dfe1061837bdf5bf6","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"05247950844df39dfe1061837bdf5bf6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw","level":"info","message":"auth send jwt","requestID":"ee166c36482207a83f0ba9bd0ecd2afb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ee166c36482207a83f0ba9bd0ecd2afb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ee166c36482207a83f0ba9bd0ecd2afb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2704","request_time":"2.700","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"90949842c5ae9539fa264798c732539e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.955952,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ee166c36482207a83f0ba9bd0ecd2afb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684614,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ee166c36482207a83f0ba9bd0ecd2afb","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/beacff5f-895b-4f78-9ece-0cf715c68a59' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"02b8514a-29ce-443f-b52b-03eb9277c083","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.8324993} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ee166c36482207a83f0ba9bd0ecd2afb","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/ee415ef7-93c3-495a-9864-4f71bdfff7f9' 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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"48021935-4ea9-4ee9-a88c-a5d131f4d20b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.837396} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ee166c36482207a83f0ba9bd0ecd2afb","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"08ed2253-66ff-4ca4-be73-b8ccc4599004","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.8545241} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c958d116-7e99-4a62-b9d7-ff6972e7c946","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.8547032} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"ee166c36482207a83f0ba9bd0ecd2afb","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.854495965Z"}]},"request_id":"2c98a704-bc4e-4e9c-9c5b-918ca2b9ac4c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.85987} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ee166c36482207a83f0ba9bd0ecd2afb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ee166c36482207a83f0ba9bd0ecd2afb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ee166c36482207a83f0ba9bd0ecd2afb"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"ee166c36482207a83f0ba9bd0ecd2afb","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw","level":"info","message":"auth send jwt","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.707646,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684614,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNH0.0yATovIJ7khn9SvDkJupgtUKhWcWjkBzSOFEgtDKcyw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1c6709f3-738b-4e6b-a187-76445345583d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.884646} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d388d139-d3c4-47e4-825d-5aa70c8f64e8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.8891506} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"275c33ef-aa1f-46c9-abee-8206cd469621","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.8998375} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0385e883-4615-4675-ae69-cd9d1baac897","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.9000013} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.899811403Z"}]},"request_id":"4102c6b2-cf1d-4dd9-a532-54dc052457c0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684614.9043381} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3","responseTime":39,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.043","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6cd08fb05f7220f1a144c44d6d19a2b3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNX0.mynyRkoKY82dOxsDRqceXP-BPQug7sShxQYTm_u4dEQ","level":"info","message":"auth send jwt","requestID":"d97e5198524c6b5fb1bdba77a2f60301"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d97e5198524c6b5fb1bdba77a2f60301","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d97e5198524c6b5fb1bdba77a2f60301"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:35Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.274354,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d97e5198524c6b5fb1bdba77a2f60301","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684615,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNX0.mynyRkoKY82dOxsDRqceXP-BPQug7sShxQYTm_u4dEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d97e5198524c6b5fb1bdba77a2f60301","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.854495965Z"}]},"request_id":"2644756f-f862-41ea-a002-596cf12f2647","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684615.4027474} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d97e5198524c6b5fb1bdba77a2f60301","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"449122ca-3df1-42a9-973c-17642a65c5cf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684615.4096491} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"d97e5198524c6b5fb1bdba77a2f60301","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.854495965Z"}]},"request_id":"bf3596a5-079e-4e3a-9eb5-3743a7c8070b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684615.4224992} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d97e5198524c6b5fb1bdba77a2f60301","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d97e5198524c6b5fb1bdba77a2f60301"} gateway-1 | {"time_local":"26/Aug/2024:15:03:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.040","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d97e5198524c6b5fb1bdba77a2f60301"} device-1 | {"level":"info","message":"PATCH /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c 200 37ms","method":"PATCH","requestID":"d97e5198524c6b5fb1bdba77a2f60301","responseTime":37,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNX0.mynyRkoKY82dOxsDRqceXP-BPQug7sShxQYTm_u4dEQ","level":"info","message":"auth send jwt","requestID":"98c4f0b5808c6f705c0b8d227cdcbf74"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"98c4f0b5808c6f705c0b8d227cdcbf74","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"98c4f0b5808c6f705c0b8d227cdcbf74"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:35Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.668302,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"98c4f0b5808c6f705c0b8d227cdcbf74","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684615,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNX0.mynyRkoKY82dOxsDRqceXP-BPQug7sShxQYTm_u4dEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"98c4f0b5808c6f705c0b8d227cdcbf74","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"98c4f0b5808c6f705c0b8d227cdcbf74"} gateway-1 | {"time_local":"26/Aug/2024:15:03:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"98c4f0b5808c6f705c0b8d227cdcbf74"} device-1 | {"level":"info","message":"POST /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/websocket 200 23ms","method":"POST","requestID":"98c4f0b5808c6f705c0b8d227cdcbf74","responseTime":23,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f90f78776c3b8969b01487bafaa7e82e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"f90f78776c3b8969b01487bafaa7e82e","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/00d6379e-1acc-4535-83ae-c1429804ca92/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":"f90f78776c3b8969b01487bafaa7e82e"} device-1 | {"level":"info","message":"OPTIONS /devices/00d6379e-1acc-4535-83ae-c1429804ca92/websocket 200 1ms","method":"OPTIONS","requestID":"f90f78776c3b8969b01487bafaa7e82e","responseTime":1,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM","level":"info","message":"auth send jwt","requestID":"ac9e453964e671e44a8e5acdfb1a5387"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ac9e453964e671e44a8e5acdfb1a5387","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ac9e453964e671e44a8e5acdfb1a5387"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.324888,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ac9e453964e671e44a8e5acdfb1a5387","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ac9e453964e671e44a8e5acdfb1a5387","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ac9e453964e671e44a8e5acdfb1a5387"} device-1 | {"level":"info","message":"POST /devices/00d6379e-1acc-4535-83ae-c1429804ca92/websocket 200 22ms","method":"POST","requestID":"ac9e453964e671e44a8e5acdfb1a5387","responseTime":22,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/00d6379e-1acc-4535-83ae-c1429804ca92/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":"ac9e453964e671e44a8e5acdfb1a5387"} device-1 | {"level":"info","message":"device 'http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM","level":"info","message":"auth send jwt","requestID":"9cead8beff2918619d1366a7fd1f8d78"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9cead8beff2918619d1366a7fd1f8d78","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9cead8beff2918619d1366a7fd1f8d78"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.163766,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9cead8beff2918619d1366a7fd1f8d78","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9cead8beff2918619d1366a7fd1f8d78","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.854495965Z"}]},"request_id":"309fcee7-6612-4e58-b531-85d3effdb4c2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684616.9450724} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9cead8beff2918619d1366a7fd1f8d78","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9cead8beff2918619d1366a7fd1f8d78"} device-1 | {"level":"info","message":"GET /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c? 200 16ms","method":"GET","requestID":"9cead8beff2918619d1366a7fd1f8d78","responseTime":16,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9cead8beff2918619d1366a7fd1f8d78"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM","level":"info","message":"auth send jwt","requestID":"81f65f6ce970d647a43ff734b77ee75d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"81f65f6ce970d647a43ff734b77ee75d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"81f65f6ce970d647a43ff734b77ee75d"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.430535,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"81f65f6ce970d647a43ff734b77ee75d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"81f65f6ce970d647a43ff734b77ee75d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.899811403Z"}]},"request_id":"66566c3e-bad7-4db6-92c9-d9f9efc37a74","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684616.9713988} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"81f65f6ce970d647a43ff734b77ee75d","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"81f65f6ce970d647a43ff734b77ee75d"} device-1 | {"level":"info","message":"GET /devices/00d6379e-1acc-4535-83ae-c1429804ca92? 200 18ms","method":"GET","requestID":"81f65f6ce970d647a43ff734b77ee75d","responseTime":18,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/00d6379e-1acc-4535-83ae-c1429804ca92? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"81f65f6ce970d647a43ff734b77ee75d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM","level":"info","message":"auth send jwt","requestID":"171bb19f4db1b88438913f3440fc9abb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"171bb19f4db1b88438913f3440fc9abb","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"171bb19f4db1b88438913f3440fc9abb"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.37462,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"171bb19f4db1b88438913f3440fc9abb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"171bb19f4db1b88438913f3440fc9abb","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Attempting to run experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Attempting to book experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully booked experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5efa7b10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5efac930-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.82115,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5efa7b10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5efa7b10-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.544885,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5efac930-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5efac930-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.854495965Z"}]},"request_id":"2ffa8592-10e1-497b-acaa-23c2837a1424","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.0382323} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5efa7b10-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.899811403Z"}]},"request_id":"9d8b41b3-0bfc-4b94-a1b7-6b8b280b1ba4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.040097} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"5efac930-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5efa7b10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c? 200 21ms","method":"GET","requestID":"5efa7b10-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5efac930-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/00d6379e-1acc-4535-83ae-c1429804ca92? 200 20ms","method":"GET","requestID":"5efac930-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Setting up experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully locked booking for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Attempting to update booking for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully updated booking for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully set up experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5f057790-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5f05c5b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5f063ae0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully running experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Received request.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"client_addr":"127.0.0.1:35080","level":"info","msg":"Sent response.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.34503,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f057790-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"5f057790-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.063267,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f05c5b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"5f05c5b0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3fafbaca-e004-49f0-9c40-d1cba8660e24","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1149483} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.899811403Z"}]},"request_id":"1e2028b1-c136-462f-8477-a09cc5acae58","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1156828} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.921552,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f063ae0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","rebac_allow":false,"scope_allow":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":"5f063ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"5f05c5b0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.854495965Z"}]},"request_id":"1b1abb3e-4cf0-46c1-8890-b93599c1b812","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1170614} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"5f057790-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdb0183b-11c9-46ea-a0dd-f8bdc70fb27b#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"e3583b38-2633-49a6-8626-7066ceab513c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.127888} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5f063ae0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"075aebd1-599a-433d-8096-564448c789b9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.128196} device-1 | {"level":"info","message":"POST /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling 200 26ms","method":"POST","requestID":"5f063ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":26,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5f05c5b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/00d6379e-1acc-4535-83ae-c1429804ca92? 200 31ms","method":"GET","requestID":"5f05c5b0-63bc-11ef-bd85-dbaeea89054b","responseTime":31,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5f057790-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"171bb19f4db1b88438913f3440fc9abb","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"GET /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c? 200 35ms","method":"GET","requestID":"5f057790-63bc-11ef-bd85-dbaeea89054b","responseTime":35,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5f0acec0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5f0be030-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ff6ca074-a211-4eb2-b052-18ad92eaa4da","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1394897} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.105316,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f0acec0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","rebac_allow":false,"scope_allow":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":"5f0acec0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"171bb19f4db1b88438913f3440fc9abb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"level":"info","message":"POST /experiments? 201 160ms","method":"POST","requestID":"171bb19f4db1b88438913f3440fc9abb","responseTime":160,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5f0acec0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling 200 13ms","method":"POST","requestID":"5f0acec0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"372ecd7a-86cd-4e13-bdc6-41ef9d7e4141","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1469796} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.092666,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f0be030-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","rebac_allow":false,"scope_allow":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":"5f0be030-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxN30.jiSiJfo37fqD96ejOtSyPoibmEjN5eS7f5kVRwHr8OI","level":"info","message":"auth send jwt","requestID":"59e674b2378441daae0d6c652a2c39f5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"59e674b2378441daae0d6c652a2c39f5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"59e674b2378441daae0d6c652a2c39f5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5f0be030-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling 200 15ms","method":"POST","requestID":"5f0be030-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.08867,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"59e674b2378441daae0d6c652a2c39f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684617,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxN30.jiSiJfo37fqD96ejOtSyPoibmEjN5eS7f5kVRwHr8OI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"59e674b2378441daae0d6c652a2c39f5","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5f0e9f50-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1af2793a-08f5-486d-91b1-dee4077bf3d7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1618943} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.854495965Z"}]},"request_id":"f3197cba-d86f-4c34-90f2-b51ab29c8dee","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1620176} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"59e674b2378441daae0d6c652a2c39f5","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.242613,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f0e9f50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","rebac_allow":false,"scope_allow":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":"5f0e9f50-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"59e674b2378441daae0d6c652a2c39f5"} gateway-1 | {"time_local":"26/Aug/2024:15:03:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"59e674b2378441daae0d6c652a2c39f5"} device-1 | {"level":"info","message":"GET /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c? 200 16ms","method":"GET","requestID":"59e674b2378441daae0d6c652a2c39f5","responseTime":16,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5f0e9f50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling 200 12ms","method":"POST","requestID":"5f0e9f50-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Building connection plan","requestID":"171bb19f4db1b88438913f3440fc9abb"} 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":"1f7197b6-880d-4237-a830-d1c13fef3ace"},{"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":"4c1761c9-34f9-4f4c-a608-68b824b628b6"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"f31be611-c9fc-45fa-98e6-e9a7b34b1e2b"}]},"level":"info","message":"Built pairwise service configurations","requestID":"171bb19f4db1b88438913f3440fc9abb"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"171bb19f4db1b88438913f3440fc9abb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxN30.jiSiJfo37fqD96ejOtSyPoibmEjN5eS7f5kVRwHr8OI","level":"info","message":"auth send jwt","requestID":"f084e0d72aa97efd9522a23534c84422"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f084e0d72aa97efd9522a23534c84422","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f084e0d72aa97efd9522a23534c84422"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.187834,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684616,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxNn0.FoQvjQMpCMFfdKj3-RJbPJ0X_8ccWejYwO9MYvgPmWM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.799356,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f084e0d72aa97efd9522a23534c84422","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684617,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxN30.jiSiJfo37fqD96ejOtSyPoibmEjN5eS7f5kVRwHr8OI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f084e0d72aa97efd9522a23534c84422","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:34.899811403Z"}]},"request_id":"04403f44-9813-466f-8bd4-29f12cef200b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.1831453} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f084e0d72aa97efd9522a23534c84422","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f084e0d72aa97efd9522a23534c84422"} gateway-1 | {"time_local":"26/Aug/2024:15:03:37 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/00d6379e-1acc-4535-83ae-c1429804ca92? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f084e0d72aa97efd9522a23534c84422"} device-1 | {"level":"info","message":"GET /devices/00d6379e-1acc-4535-83ae-c1429804ca92? 200 13ms","method":"GET","requestID":"f084e0d72aa97efd9522a23534c84422","responseTime":13,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"a9ad1c64-1377-4409-80d9-5ba1fa5bf5cc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.188106} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"56a9b195-34e9-41be-b8cd-94fbe75fcf6d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.188403} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d'","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d'","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 30ms","method":"POST","requestID":"5f10e940-63bc-11ef-bd85-dbaeea89054b","responseTime":30,"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":"5f10e940-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d","device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"171bb19f4db1b88438913f3440fc9abb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5f19c2e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4070ec7e-98fb-4941-b524-ca2849ff23f0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.2352495} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.558093,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f19c2e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5f19c2e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5f19c2e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling 200 10ms","method":"POST","requestID":"5f19c2e0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"5f1b97a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0b948658-6e25-4f5f-9f2f-d2022af8053c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684617.246315} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.832435,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:37Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f1b97a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5f1b97a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"5f1b97a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling 200 8ms","method":"POST","requestID":"5f1b97a0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling"} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"be13f132-e0bd-454d-8550-9d75a7b8656d","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 5558602332879453073 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:6OQk\r\na=ice-pwd:fOy1z4V/k3D4Qoz+LcAVS+V+\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0A:66:C7:1D:95:B7:43:95:C8:3D:1B:01:6F:B2:20:53:66:49:85:B0:86:26:46:88:15:32:6A:44:ED:49:A6:FC\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1203073230 1 udp 2113937151 69632e63-eea6-488d-9dc6-12d424638b26.local 59922 typ host generation 0 ufrag 6OQk network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"00d6379e-1acc-4535-83ae-c1429804ca92","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/be13f132-e0bd-454d-8550-9d75a7b8656d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"be13f132-e0bd-454d-8550-9d75a7b8656d","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fb3b0035fa4d48a98e01aac691bfc00d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 | {"content":{"candidate":"candidate:3567178205 1 udp 1677729535 141.24.211.56 59922 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 6OQk network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fb3b0035fa4d48a98e01aac691bfc00d","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d"}}},"level":"info","message":"received a callback","requestID":"fb3b0035fa4d48a98e01aac691bfc00d"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92'"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"fb3b0035fa4d48a98e01aac691bfc00d","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"fb3b0035fa4d48a98e01aac691bfc00d"} device-1 | {"data":{"peerconnection":"be13f132-e0bd-454d-8550-9d75a7b8656d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"be13f132-e0bd-454d-8550-9d75a7b8656d","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"00d6379e-1acc-4535-83ae-c1429804ca92","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/be13f132-e0bd-454d-8550-9d75a7b8656d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"be13f132-e0bd-454d-8550-9d75a7b8656d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"acf37aed5b953f503fd78ea98cc02c45","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"acf37aed5b953f503fd78ea98cc02c45","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d"}}},"level":"info","message":"received a callback","requestID":"acf37aed5b953f503fd78ea98cc02c45"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"605a8040-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbe13f132-e0bd-454d-8550-9d75a7b8656d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9bc1f3d1-d140-443a-9bd2-f0fb5bab3ff0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.3384454} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.612544,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"605a8040-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d","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":"605a8040-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"605a8040-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d 200 10ms","method":"GET","requestID":"605a8040-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"acf37aed5b953f503fd78ea98cc02c45","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"acf37aed5b953f503fd78ea98cc02c45"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"605ffe80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"afc818ec-59cf-4422-bd2d-4b65a50991f4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.3742948} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.921896,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"605ffe80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","rebac_allow":false,"scope_allow":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":"605ffe80-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"605ffe80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling 200 10ms","method":"POST","requestID":"605ffe80-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6061fa50-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4e7faa65-ef24-4ef3-a78b-8f978f7776cd","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.386893} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.91494,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6061fa50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","rebac_allow":false,"scope_allow":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":"6061fa50-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6061fa50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling 200 11ms","method":"POST","requestID":"6061fa50-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo","level":"info","message":"auth send jwt","requestID":"57af8ecbaf3f9de1137405081c160b41"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"57af8ecbaf3f9de1137405081c160b41","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","requestID":"57af8ecbaf3f9de1137405081c160b41"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.188241,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"57af8ecbaf3f9de1137405081c160b41","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684619,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"57af8ecbaf3f9de1137405081c160b41","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","requestID":"57af8ecbaf3f9de1137405081c160b41"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"57af8ecbaf3f9de1137405081c160b41"} experiment-1 | {"level":"info","message":"GET /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b 200 14ms","method":"GET","requestID":"57af8ecbaf3f9de1137405081c160b41","responseTime":14,"status":200,"url":"/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo","level":"info","message":"auth send jwt","requestID":"1d21cfc4b6f4938c6088c6c01bcef474"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1d21cfc4b6f4938c6088c6c01bcef474","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","requestID":"1d21cfc4b6f4938c6088c6c01bcef474"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.035905,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1d21cfc4b6f4938c6088c6c01bcef474","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684619,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1d21cfc4b6f4938c6088c6c01bcef474","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Attempting to finish experiment","requestID":"1d21cfc4b6f4938c6088c6c01bcef474"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"606ea480-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.354867,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"606ea480-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684619,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"606ea480-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d","device":"00d6379e-1acc-4535-83ae-c1429804ca92","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"6b75a9d4-5002-4bd1-ada4-52f55ffb830c","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/be13f132-e0bd-454d-8550-9d75a7b8656d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"be13f132-e0bd-454d-8550-9d75a7b8656d","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"37aa3d324f883aa0b7f799ee2f600d66","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"37aa3d324f883aa0b7f799ee2f600d66","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbe13f132-e0bd-454d-8550-9d75a7b8656d': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbe13f132-e0bd-454d-8550-9d75a7b8656d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"239c6d43-be73-4ae3-a93e-10f4923a98a9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.487506} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"009b2496-f0e9-447e-95ff-f8775642cfcb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.4878623} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"448fd15790247ace5ce7f8cadd3c8352","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d"}}},"level":"info","message":"received a callback","requestID":"37aa3d324f883aa0b7f799ee2f600d66"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"448fd15790247ace5ce7f8cadd3c8352","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"606ea480-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d"}}},"level":"info","message":"received a callback","requestID":"448fd15790247ace5ce7f8cadd3c8352"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"606ea480-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d 204 31ms","method":"DELETE","requestID":"606ea480-63bc-11ef-bd85-dbaeea89054b","responseTime":31,"status":204,"url":"/peerconnections/be13f132-e0bd-454d-8550-9d75a7b8656d"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"},"level":"info","message":"Successfully finished experiment","requestID":"1d21cfc4b6f4938c6088c6c01bcef474"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"607693c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F00d6379e-1acc-4535-83ae-c1429804ca92","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5b85e9ab-a3ca-4fa9-8b37-634f882abe5d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.5210552} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.92425,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"607693c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/00d6379e-1acc-4535-83ae-c1429804ca92","object_type":"device","rebac_allow":false,"scope_allow":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":"607693c0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"607693c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling 200 10ms","method":"POST","requestID":"607693c0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/00d6379e-1acc-4535-83ae-c1429804ca92/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdb0183b-11c9-46ea-a0dd-f8bdc70fb27b': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"0aedd044-7df3-41ac-971e-8878c2f23e98","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.527897} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0b1c8862-13ac-448b-9862-8cc79237e64c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.5282438} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"1d21cfc4b6f4938c6088c6c01bcef474","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"60788f90-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b75a9d4-5002-4bd1-ada4-52f55ffb830c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"00a31add-f88f-46be-83d9-9e443de10884","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.5335958} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.481412,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"60788f90-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"60788f90-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"60788f90-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling 200 9ms","method":"POST","requestID":"60788f90-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b","requestID":"1d21cfc4b6f4938c6088c6c01bcef474"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.137","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1d21cfc4b6f4938c6088c6c01bcef474"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2801","request_time":"4.123","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e3dcb47f76e9d6d1f452db29ccd5c890"} experiment-1 | {"level":"info","message":"DELETE /experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b 204 132ms","method":"DELETE","requestID":"1d21cfc4b6f4938c6088c6c01bcef474","responseTime":132,"status":204,"url":"/experiments/bdb0183b-11c9-46ea-a0dd-f8bdc70fb27b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 93ms","method":"POST","requestID":"37aa3d324f883aa0b7f799ee2f600d66","responseTime":93,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.097","http_referrer":"","http_user_agent":"node-fetch","requestID":"37aa3d324f883aa0b7f799ee2f600d66"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo","level":"info","message":"auth send jwt","requestID":"cfc5f5713312be5d16a40c18846c640e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 92ms","method":"POST","requestID":"448fd15790247ace5ce7f8cadd3c8352","responseTime":92,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cfc5f5713312be5d16a40c18846c640e","responseTime":3,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.098","http_referrer":"","http_user_agent":"node-fetch","requestID":"448fd15790247ace5ce7f8cadd3c8352"} device-1 | {"level":"info","message":"postDevices called","requestID":"cfc5f5713312be5d16a40c18846c640e"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.011001,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2707","request_time":"2.681","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1a1deab9d2aafcc2d7cf1b2f0e227e05"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"cfc5f5713312be5d16a40c18846c640e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684619,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cfc5f5713312be5d16a40c18846c640e","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6b75a9d4-5002-4bd1-ada4-52f55ffb830c' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"993c91fe-a796-4ae6-82a7-e4462e9d556e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6045732} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cfc5f5713312be5d16a40c18846c640e","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"55e330fb-8a7b-40be-b2b4-34e9cc02b47e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6091278} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"cfc5f5713312be5d16a40c18846c640e","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/00d6379e-1acc-4535-83ae-c1429804ca92' closed"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"113f5806-e05e-459a-85d4-fd568c034c6c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6181762} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"072d6f73-f780-43ed-8217-1a6faaf727f1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6185381} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"cfc5f5713312be5d16a40c18846c640e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.618147320Z"}]},"request_id":"b169d897-e6bc-46b0-afcb-c27a4f30bc0d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6232502} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cfc5f5713312be5d16a40c18846c640e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cfc5f5713312be5d16a40c18846c640e"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cfc5f5713312be5d16a40c18846c640e"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"cfc5f5713312be5d16a40c18846c640e","responseTime":39,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo","level":"info","message":"auth send jwt","requestID":"9e1842df795b8f8088917586892d6336"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9e1842df795b8f8088917586892d6336","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9e1842df795b8f8088917586892d6336"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.682217,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9e1842df795b8f8088917586892d6336","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684619,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYxOX0.OcH9n7bTvfYzmW4RRU_AbeXMcv1R4ewT8FWeSf_Y6Yo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9e1842df795b8f8088917586892d6336","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8fb9c818-feda-4a78-b038-94d137f02aaa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6443703} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9e1842df795b8f8088917586892d6336","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"579ce39f-9086-4e94-8cee-65ded00e836b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6490784} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9e1842df795b8f8088917586892d6336","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"ee42a6a7-0916-460a-bbfb-6e39818f54a3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.663699} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"43f9bfe4-c523-4967-b9ef-b211f63080e7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6638453} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"9e1842df795b8f8088917586892d6336","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.663675263Z"}]},"request_id":"2a81e3b4-3f55-4829-a00b-a120974aa655","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684619.6675174} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9e1842df795b8f8088917586892d6336","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9e1842df795b8f8088917586892d6336"} gateway-1 | {"time_local":"26/Aug/2024:15:03:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.043","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9e1842df795b8f8088917586892d6336"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"9e1842df795b8f8088917586892d6336","responseTime":39,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMH0.YwP3xlruj3LdgJb78TTBNeErP2oBYSgZys1kxSta8lY","level":"info","message":"auth send jwt","requestID":"1c6e0138a631e966109505b4440843fe"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1c6e0138a631e966109505b4440843fe","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1c6e0138a631e966109505b4440843fe"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:40Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.139451,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1c6e0138a631e966109505b4440843fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684620,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMH0.YwP3xlruj3LdgJb78TTBNeErP2oBYSgZys1kxSta8lY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1c6e0138a631e966109505b4440843fe","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.618147320Z"}]},"request_id":"94fea883-fe55-4236-ac39-d5455b002952","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684620.1658168} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1c6e0138a631e966109505b4440843fe","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e4e44b9f-4ff4-4dc3-bff5-70b5077cd1e8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684620.1724043} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"1c6e0138a631e966109505b4440843fe","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.618147320Z"}]},"request_id":"df29207e-1354-4990-8fe3-15417ae02af4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684620.1860008} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1c6e0138a631e966109505b4440843fe","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1c6e0138a631e966109505b4440843fe"} device-1 | {"level":"info","message":"PATCH /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432 200 37ms","method":"PATCH","requestID":"1c6e0138a631e966109505b4440843fe","responseTime":37,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432"} gateway-1 | {"time_local":"26/Aug/2024:15:03:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1c6e0138a631e966109505b4440843fe"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMH0.YwP3xlruj3LdgJb78TTBNeErP2oBYSgZys1kxSta8lY","level":"info","message":"auth send jwt","requestID":"ab5202dc6adc8c1f3c9a67861d3779b5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ab5202dc6adc8c1f3c9a67861d3779b5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ab5202dc6adc8c1f3c9a67861d3779b5"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:40Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.438365,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:40Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ab5202dc6adc8c1f3c9a67861d3779b5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684620,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMH0.YwP3xlruj3LdgJb78TTBNeErP2oBYSgZys1kxSta8lY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ab5202dc6adc8c1f3c9a67861d3779b5","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ab5202dc6adc8c1f3c9a67861d3779b5"} gateway-1 | {"time_local":"26/Aug/2024:15:03:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ab5202dc6adc8c1f3c9a67861d3779b5"} device-1 | {"level":"info","message":"POST /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/websocket 200 19ms","method":"POST","requestID":"ab5202dc6adc8c1f3c9a67861d3779b5","responseTime":19,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"488efa7c0e4a149d19e87795661e6fa6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"488efa7c0e4a149d19e87795661e6fa6","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/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":"488efa7c0e4a149d19e87795661e6fa6"} device-1 | {"level":"info","message":"OPTIONS /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/websocket 200 1ms","method":"OPTIONS","requestID":"488efa7c0e4a149d19e87795661e6fa6","responseTime":1,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8","level":"info","message":"auth send jwt","requestID":"e13d94699b7c8971ce553b5a47b0e4d9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e13d94699b7c8971ce553b5a47b0e4d9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e13d94699b7c8971ce553b5a47b0e4d9"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.303815,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e13d94699b7c8971ce553b5a47b0e4d9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e13d94699b7c8971ce553b5a47b0e4d9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e13d94699b7c8971ce553b5a47b0e4d9"} device-1 | {"level":"info","message":"POST /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/websocket 200 21ms","method":"POST","requestID":"e13d94699b7c8971ce553b5a47b0e4d9","responseTime":21,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/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":"e13d94699b7c8971ce553b5a47b0e4d9"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8","level":"info","message":"auth send jwt","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.282785,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.618147320Z"}]},"request_id":"12333505-5640-43d0-b79c-8b846ab3e23a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.727614} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c"} device-1 | {"level":"info","message":"GET /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432? 200 17ms","method":"GET","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c","responseTime":17,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0e2c95a8b42077c9c0dee0a4ee7cc04c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8","level":"info","message":"auth send jwt","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.317877,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.663675263Z"}]},"request_id":"627329f9-17b7-4421-ae67-ee5ffe4fd4d9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.7523346} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a"} device-1 | {"level":"info","message":"GET /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0? 200 16ms","method":"GET","requestID":"dcfbf63d0c6d17042e96cd84a6c01c1a","responseTime":16,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8","level":"info","message":"auth send jwt","requestID":"4c5c723082b085421107015a64842ca4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4c5c723082b085421107015a64842ca4","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4c5c723082b085421107015a64842ca4"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.170512,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"4c5c723082b085421107015a64842ca4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4c5c723082b085421107015a64842ca4","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Attempting to run experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Attempting to book experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully booked experiment","requestID":"4c5c723082b085421107015a64842ca4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"61d49d20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"61d4eb40-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.928756,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61d49d20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"61d49d20-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.658998,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61d4eb40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"61d4eb40-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.618147320Z"}]},"request_id":"7c180085-43a9-4cd6-bc75-4ee44afe0a91","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.8177836} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"61d49d20-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.663675263Z"}]},"request_id":"a09df78b-7ca5-4ae1-8aa6-1797f9fc2a18","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.8184822} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"61d4eb40-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"61d49d20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432? 200 14ms","method":"GET","requestID":"61d49d20-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"61d4eb40-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0? 200 13ms","method":"GET","requestID":"61d4eb40-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Setting up experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully set up experiment","requestID":"4c5c723082b085421107015a64842ca4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"61ded650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"61df2470-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61df4b80-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully running experiment","requestID":"4c5c723082b085421107015a64842ca4"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.767384,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61ded650-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"61ded650-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.900761,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61df2470-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"61df2470-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d9e08e8-b337-4bc5-a3f1-c8c736f99fa2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.885682} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.850673,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61df4b80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","rebac_allow":false,"scope_allow":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":"61df4b80-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.663675263Z"}]},"request_id":"647628e7-388c-4699-a8d6-7dfbe846503d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.8874598} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.618147320Z"}]},"request_id":"0ede6cd4-396a-475c-a09c-1c238a0d0da5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.8880398} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"61df2470-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"61ded650-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61df4b80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling 200 13ms","method":"POST","requestID":"61df4b80-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"61df2470-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0? 200 15ms","method":"GET","requestID":"61df2470-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"61ded650-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432? 200 18ms","method":"GET","requestID":"61ded650-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61e1bc80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61e20aa0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"de8c70c0-9756-4699-81be-1a0a860aab9f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9004202} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5247d289-4dd6-47f0-9934-8646428e68d2#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5247d289-4dd6-47f0-9934-8646428e68d2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"1c452c61-184a-4fd8-a7cf-d4b2e63c85b5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9008014} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6979848b-fc01-4e6f-a723-107b33048e45","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.90103} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.355515,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61e1bc80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","rebac_allow":false,"scope_allow":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":"61e1bc80-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"4c5c723082b085421107015a64842ca4","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c7746a2f-3e34-4565-bc16-5ef1fa5013b8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.903437} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.531435,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61e20aa0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"61e20aa0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61e1bc80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling 200 11ms","method":"POST","requestID":"61e1bc80-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61e20aa0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling 200 11ms","method":"POST","requestID":"61e20aa0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4c5c723082b085421107015a64842ca4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61e45490-63bc-11ef-bd85-dbaeea89054b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 148ms","method":"POST","requestID":"4c5c723082b085421107015a64842ca4","responseTime":148,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"645bdcba-4e9f-470e-8d1d-e1a7cf7cf16a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9187467} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8","level":"info","message":"auth send jwt","requestID":"89f0646e25fc340af93c748a3c9e2122"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.518378,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"89f0646e25fc340af93c748a3c9e2122","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61e45490-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","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":"89f0646e25fc340af93c748a3c9e2122"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"61e45490-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.959078,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61e45490-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling 200 11ms","method":"POST","requestID":"61e45490-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"89f0646e25fc340af93c748a3c9e2122","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"89f0646e25fc340af93c748a3c9e2122","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Building connection plan","requestID":"4c5c723082b085421107015a64842ca4"} 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":"edf879b9-1dad-4089-9932-e8f697db1cfb"},{"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":"e15ca1e2-d623-4fd9-9aa2-04a2fb4d2f50"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"cedfd1a0-07f7-4a97-b5ea-75315a672e79"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4c5c723082b085421107015a64842ca4"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"4c5c723082b085421107015a64842ca4"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.618147320Z"}]},"request_id":"120aaabe-bf8e-4dcc-8be5-c1e04c1660a5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9276779} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"89f0646e25fc340af93c748a3c9e2122","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.731087,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"89f0646e25fc340af93c748a3c9e2122"} gateway-1 | {"time_local":"26/Aug/2024:15:03:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"89f0646e25fc340af93c748a3c9e2122"} device-1 | {"level":"info","message":"GET /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432? 200 10ms","method":"GET","requestID":"89f0646e25fc340af93c748a3c9e2122","responseTime":10,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432?"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8","level":"info","message":"auth send jwt","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"3c2084eb-81d5-4894-ae1c-5014c63ed6aa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9393258} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d897756b-7755-49b1-ab74-ad9c881eb0f8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9397027} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.766054,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9cb7f1a07bcf13b47a448ff83b548ccb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684621,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyMX0.M7QPS35r7EBg7o8rh94d3S74s9z_vsk4qh_HJZ-85D8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:39.663675263Z"}]},"request_id":"48dc3f93-89b2-4d77-9df3-772d12b5df80","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.946622} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859'","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859'","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b"} 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":"61e67770-63bc-11ef-bd85-dbaeea89054b","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":"getDevicesByDeviceId succeeded","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb"} gateway-1 | {"time_local":"26/Aug/2024:15:03:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb"} device-1 | {"level":"info","message":"GET /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0? 200 20ms","method":"GET","requestID":"9cb7f1a07bcf13b47a448ff83b548ccb","responseTime":20,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"61e67770-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859","device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4c5c723082b085421107015a64842ca4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61eeb4d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5d5ff714-f2bb-4cf5-8362-d4bc7f67b3eb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9854329} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.210816,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61eeb4d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"61eeb4d0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61eeb4d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling 200 8ms","method":"POST","requestID":"61eeb4d0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"61f03b70-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2452584a-78b3-4eb0-9541-b94b595c474b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684621.9953423} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.000253,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"61f03b70-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"61f03b70-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"61f03b70-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling 200 8ms","method":"POST","requestID":"61f03b70-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling"} device-1 | {"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"41e9ad23-88d0-44b3-b767-6845b7ab4859","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 6325778036769684068 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:WlnS\r\na=ice-pwd:tgTOkCm9dOWfIOd554IjMVeW\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9F:61:94:03:AB:75:1D:97:6D:2B:22:95:6D:27:74:7C:10:29:43:32:9F:E5:14:8B:21:25:4A:31:D1:EC:BE:71\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:4266527052 1 udp 2113937151 df8a9b72-47f0-4060-b408-52cb48ce43ec.local 46675 typ host generation 0 ufrag WlnS network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1835378783 1 udp 1677729535 141.24.211.56 46675 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag WlnS network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/41e9ad23-88d0-44b3-b767-6845b7ab4859' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"41e9ad23-88d0-44b3-b767-6845b7ab4859","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","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/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0'"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bce88832a2b566ffcc067a8a886c460d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"bce88832a2b566ffcc067a8a886c460d","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859"}}},"level":"info","message":"received a callback","requestID":"bce88832a2b566ffcc067a8a886c460d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"bce88832a2b566ffcc067a8a886c460d","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"bce88832a2b566ffcc067a8a886c460d"} device-1 | {"data":{"peerconnection":"41e9ad23-88d0-44b3-b767-6845b7ab4859","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"41e9ad23-88d0-44b3-b767-6845b7ab4859","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","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/41e9ad23-88d0-44b3-b767-6845b7ab4859' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"41e9ad23-88d0-44b3-b767-6845b7ab4859","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"443c7bcf8fc78fe69c1844df0500e6fc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"443c7bcf8fc78fe69c1844df0500e6fc","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859"}}},"level":"info","message":"received a callback","requestID":"443c7bcf8fc78fe69c1844df0500e6fc"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"633a2090-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F41e9ad23-88d0-44b3-b767-6845b7ab4859","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ace8b25-04ab-4547-bb71-c1a229f73425","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.1606443} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.709579,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"633a2090-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859","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":"633a2090-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"633a2090-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859 200 13ms","method":"GET","requestID":"633a2090-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 49ms","method":"POST","requestID":"443c7bcf8fc78fe69c1844df0500e6fc","responseTime":49,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.054","http_referrer":"","http_user_agent":"node-fetch","requestID":"443c7bcf8fc78fe69c1844df0500e6fc"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63408930-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f4ee9362-c915-4e81-a8cf-315f03d2b82b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.2019134} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.885456,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63408930-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","rebac_allow":false,"scope_allow":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":"63408930-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63408930-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling 200 13ms","method":"POST","requestID":"63408930-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63432140-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4e4c9671-4b1f-4c52-87f2-708ad2e3239a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.2182465} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.677678,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63432140-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","rebac_allow":false,"scope_allow":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":"63432140-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63432140-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling 200 13ms","method":"POST","requestID":"63432140-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o","level":"info","message":"auth send jwt","requestID":"88ac6218fbaa53d12f8d5e5f0db409fe"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"88ac6218fbaa53d12f8d5e5f0db409fe","responseTime":7,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5247d289-4dd6-47f0-9934-8646428e68d2","requestID":"88ac6218fbaa53d12f8d5e5f0db409fe"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.805842,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"88ac6218fbaa53d12f8d5e5f0db409fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684624,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"88ac6218fbaa53d12f8d5e5f0db409fe","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5247d289-4dd6-47f0-9934-8646428e68d2","requestID":"88ac6218fbaa53d12f8d5e5f0db409fe"} gateway-1 | {"time_local":"26/Aug/2024:15:03:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5247d289-4dd6-47f0-9934-8646428e68d2 HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"88ac6218fbaa53d12f8d5e5f0db409fe"} experiment-1 | {"level":"info","message":"GET /experiments/5247d289-4dd6-47f0-9934-8646428e68d2 200 17ms","method":"GET","requestID":"88ac6218fbaa53d12f8d5e5f0db409fe","responseTime":17,"status":200,"url":"/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o","level":"info","message":"auth send jwt","requestID":"ae866a5b01121a9044f9376a3c16d6af"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ae866a5b01121a9044f9376a3c16d6af","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5247d289-4dd6-47f0-9934-8646428e68d2","requestID":"ae866a5b01121a9044f9376a3c16d6af"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.331254,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ae866a5b01121a9044f9376a3c16d6af","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684624,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ae866a5b01121a9044f9376a3c16d6af","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Attempting to finish experiment","requestID":"ae866a5b01121a9044f9376a3c16d6af"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"634e92f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.233513,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"634e92f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684624,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"634e92f0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859","device":"dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"8c68e776-8abc-4bb2-ba72-42ec2f333432","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/41e9ad23-88d0-44b3-b767-6845b7ab4859' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"41e9ad23-88d0-44b3-b767-6845b7ab4859","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F41e9ad23-88d0-44b3-b767-6845b7ab4859': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F41e9ad23-88d0-44b3-b767-6845b7ab4859","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"faf00a9f-9776-4841-9143-4e7ef7bc31ae","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.3135042} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b51c2f3d3ce426ac2219ebf8de989040","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b7cdba52-8023-4786-9c41-a5bff80617cb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.314339} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b51c2f3d3ce426ac2219ebf8de989040","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"634e92f0-63bc-11ef-bd85-dbaeea89054b","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":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859"}}},"level":"info","message":"received a callback","requestID":"b51c2f3d3ce426ac2219ebf8de989040"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d5a78dc2b7de2a78512d60c6461787f2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"d5a78dc2b7de2a78512d60c6461787f2","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859"}}},"level":"info","message":"received a callback","requestID":"d5a78dc2b7de2a78512d60c6461787f2"} device-1 | {"data":{"peerconnection":"41e9ad23-88d0-44b3-b767-6845b7ab4859","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"634e92f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859 204 51ms","method":"DELETE","requestID":"634e92f0-63bc-11ef-bd85-dbaeea89054b","responseTime":51,"status":204,"url":"/peerconnections/41e9ad23-88d0-44b3-b767-6845b7ab4859"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"},"level":"info","message":"Successfully finished experiment","requestID":"ae866a5b01121a9044f9376a3c16d6af"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"635a79d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8bbe661b-48d0-4f1b-b5c4-4e839be4dedf","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.3725967} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.803002,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"635a79d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0","object_type":"device","rebac_allow":false,"scope_allow":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":"635a79d0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"635a79d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling 200 14ms","method":"POST","requestID":"635a79d0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5247d289-4dd6-47f0-9934-8646428e68d2': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5247d289-4dd6-47f0-9934-8646428e68d2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"3b7fe898-f7a1-4a5c-97ee-afe1afb8c214","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.3810687} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8c5ccdd-6a12-4cca-ad4d-e98a2d97aec3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.381677} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"635d6000-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"ae866a5b01121a9044f9376a3c16d6af","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8c68e776-8abc-4bb2-ba72-42ec2f333432","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa8b68ec-6fdd-4a5b-a28f-323f06b724e2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.3900123} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.94552,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"635d6000-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432","object_type":"device","rebac_allow":false,"scope_allow":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":"635d6000-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"635d6000-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling 200 12ms","method":"POST","requestID":"635d6000-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/8c68e776-8abc-4bb2-ba72-42ec2f333432/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5247d289-4dd6-47f0-9934-8646428e68d2","requestID":"ae866a5b01121a9044f9376a3c16d6af"} gateway-1 | {"time_local":"26/Aug/2024:15:03:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5247d289-4dd6-47f0-9934-8646428e68d2 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.191","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ae866a5b01121a9044f9376a3c16d6af"} gateway-1 | {"time_local":"26/Aug/2024:15:03:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2801","request_time":"4.239","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a52f1d6302c03eaae71ff1f9464897ab"} experiment-1 | {"level":"info","message":"DELETE /experiments/5247d289-4dd6-47f0-9934-8646428e68d2 204 186ms","method":"DELETE","requestID":"ae866a5b01121a9044f9376a3c16d6af","responseTime":186,"status":204,"url":"/experiments/5247d289-4dd6-47f0-9934-8646428e68d2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 142ms","method":"POST","requestID":"b51c2f3d3ce426ac2219ebf8de989040","responseTime":142,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.149","http_referrer":"","http_user_agent":"node-fetch","requestID":"b51c2f3d3ce426ac2219ebf8de989040"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o","level":"info","message":"auth send jwt","requestID":"9677ca4d04d2fb4587aaabc97597d4a8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9677ca4d04d2fb4587aaabc97597d4a8","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 143ms","method":"POST","requestID":"d5a78dc2b7de2a78512d60c6461787f2","responseTime":143,"status":200,"url":"/callbacks/experiment"} device-1 | {"level":"info","message":"postDevices called","requestID":"9677ca4d04d2fb4587aaabc97597d4a8"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.152","http_referrer":"","http_user_agent":"node-fetch","requestID":"d5a78dc2b7de2a78512d60c6461787f2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2707","request_time":"2.773","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1bb66b74e11be92d85d4f7bed625e04a"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.896643,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9677ca4d04d2fb4587aaabc97597d4a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684624,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9677ca4d04d2fb4587aaabc97597d4a8","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/8c68e776-8abc-4bb2-ba72-42ec2f333432' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ef1ae5d4-ffd3-438c-800a-203561802282","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.4851673} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9677ca4d04d2fb4587aaabc97597d4a8","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6702ac09-de71-491a-acc9-34c9402ca479","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.489912} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/dc6a708b-0886-4d57-97c3-2ee5ffe4e1e0' closed"} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9677ca4d04d2fb4587aaabc97597d4a8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"513f4834-5675-4ac2-a2fa-560df3d52ca8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.4992027} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac491acb-f726-4fd8-a573-7274e6b1755e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.4993627} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"9677ca4d04d2fb4587aaabc97597d4a8","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.499178936Z"}]},"request_id":"671c44a0-b7fb-406c-b4e2-db315e8dd3f3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.5035708} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9677ca4d04d2fb4587aaabc97597d4a8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9677ca4d04d2fb4587aaabc97597d4a8"} gateway-1 | {"time_local":"26/Aug/2024:15:03:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9677ca4d04d2fb4587aaabc97597d4a8"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"9677ca4d04d2fb4587aaabc97597d4a8","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o","level":"info","message":"auth send jwt","requestID":"581d53a587d03602e52ddb429cb97bf9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"581d53a587d03602e52ddb429cb97bf9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"581d53a587d03602e52ddb429cb97bf9"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.675557,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"581d53a587d03602e52ddb429cb97bf9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684624,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNH0.BSm_LtncirFbgewDDnIoIXQrNnak85ofRb08uousx0o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"581d53a587d03602e52ddb429cb97bf9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"237665cd-0372-43e4-bbf6-77535aca44d6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.5330777} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"581d53a587d03602e52ddb429cb97bf9","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a6aad194-2e7b-48c6-8e66-f7cebdeab29d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.5378716} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"581d53a587d03602e52ddb429cb97bf9","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"18bf9eb2-2043-4741-bb6e-b028426a5f77","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.5493252} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5bbb9066-edbf-4894-b88e-0c1826b2d731","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.549507} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"581d53a587d03602e52ddb429cb97bf9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.549300234Z"}]},"request_id":"762d749d-8765-47b6-afec-21d730a3507d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684624.557255} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"581d53a587d03602e52ddb429cb97bf9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"581d53a587d03602e52ddb429cb97bf9"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"581d53a587d03602e52ddb429cb97bf9","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"581d53a587d03602e52ddb429cb97bf9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"28bad7cf696a7bdc39213a3479d07c6b"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"28bad7cf696a7bdc39213a3479d07c6b","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"28bad7cf696a7bdc39213a3479d07c6b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.666196,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"28bad7cf696a7bdc39213a3479d07c6b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"28bad7cf696a7bdc39213a3479d07c6b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.649529,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.549300234Z"}]},"request_id":"ae3db7f0-690d-456e-8b86-424bce3197c3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.0528939} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"28bad7cf696a7bdc39213a3479d07c6b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.499178936Z"}]},"request_id":"bf053212-d769-439c-bd96-cdaa042902bc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.053393} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"add22151-ee32-4f04-b185-bc57b6792d27","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.0573363} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"28bad7cf696a7bdc39213a3479d07c6b","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7763130-9a57-4eb2-a293-c26069169d84","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.058188} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.499178936Z"}]},"request_id":"45a49bde-618f-47e5-a595-41b4945df360","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.0608697} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d11c75df-d1e4-4d7b-857b-c60141134a03 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52"} device-1 | {"level":"info","message":"PATCH /devices/d11c75df-d1e4-4d7b-857b-c60141134a03 200 19ms","method":"PATCH","requestID":"d9b17c893e07b5fa35b0e6f0f7f33d52","responseTime":19,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"2944d9453134ff2c3794fd7e028a0b8e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2944d9453134ff2c3794fd7e028a0b8e","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2944d9453134ff2c3794fd7e028a0b8e"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.639523,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"2944d9453134ff2c3794fd7e028a0b8e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2944d9453134ff2c3794fd7e028a0b8e","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.549300234Z"}]},"request_id":"e1dcc4da-f5e6-4ba8-9678-045b09a7b898","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.0723536} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"28bad7cf696a7bdc39213a3479d07c6b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"28bad7cf696a7bdc39213a3479d07c6b"} device-1 | {"level":"info","message":"PATCH /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0 200 32ms","method":"PATCH","requestID":"28bad7cf696a7bdc39213a3479d07c6b","responseTime":32,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"28bad7cf696a7bdc39213a3479d07c6b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"894c884702418d6dc30f33963738ddc6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"894c884702418d6dc30f33963738ddc6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"894c884702418d6dc30f33963738ddc6"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.103401,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"894c884702418d6dc30f33963738ddc6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2944d9453134ff2c3794fd7e028a0b8e"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"894c884702418d6dc30f33963738ddc6","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d11c75df-d1e4-4d7b-857b-c60141134a03/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"2944d9453134ff2c3794fd7e028a0b8e"} device-1 | {"level":"info","message":"POST /devices/d11c75df-d1e4-4d7b-857b-c60141134a03/websocket 200 18ms","method":"POST","requestID":"2944d9453134ff2c3794fd7e028a0b8e","responseTime":18,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"894c884702418d6dc30f33963738ddc6"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.021","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"894c884702418d6dc30f33963738ddc6"} device-1 | {"level":"info","message":"POST /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/websocket 200 16ms","method":"POST","requestID":"894c884702418d6dc30f33963738ddc6","responseTime":16,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"eb561d4adb64aee83eb38d50d02c3d62"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"eb561d4adb64aee83eb38d50d02c3d62","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eb561d4adb64aee83eb38d50d02c3d62"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.943051,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"eb561d4adb64aee83eb38d50d02c3d62","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eb561d4adb64aee83eb38d50d02c3d62","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.499178936Z"}]},"request_id":"47e7ed80-2d67-4eb5-9476-1c68462ebb0b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.1361942} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"eb561d4adb64aee83eb38d50d02c3d62","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eb561d4adb64aee83eb38d50d02c3d62"} device-1 | {"level":"info","message":"GET /devices/d11c75df-d1e4-4d7b-857b-c60141134a03? 200 15ms","method":"GET","requestID":"eb561d4adb64aee83eb38d50d02c3d62","responseTime":15,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d11c75df-d1e4-4d7b-857b-c60141134a03? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eb561d4adb64aee83eb38d50d02c3d62"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"38027b1c1b8af3e55a2228a8493b0a46"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"38027b1c1b8af3e55a2228a8493b0a46","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"38027b1c1b8af3e55a2228a8493b0a46"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.646777,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"38027b1c1b8af3e55a2228a8493b0a46","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"38027b1c1b8af3e55a2228a8493b0a46","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.549300234Z"}]},"request_id":"09fd8c79-63c2-418c-8df3-5acd0c8399d0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.1543822} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"38027b1c1b8af3e55a2228a8493b0a46","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"38027b1c1b8af3e55a2228a8493b0a46"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"38027b1c1b8af3e55a2228a8493b0a46"} device-1 | {"level":"info","message":"GET /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0? 200 13ms","method":"GET","requestID":"38027b1c1b8af3e55a2228a8493b0a46","responseTime":13,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"ea0157094ab8c17ee1b906db71935353"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ea0157094ab8c17ee1b906db71935353","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"ea0157094ab8c17ee1b906db71935353"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.265429,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ea0157094ab8c17ee1b906db71935353","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ea0157094ab8c17ee1b906db71935353","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Attempting to run experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Attempting to book experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully booked experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63db1b80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63db4290-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.151909,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63db1b80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63db1b80-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.029168,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63db4290-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63db4290-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.499178936Z"}]},"request_id":"dd5f6831-d10b-424b-9a0c-c0927c96f756","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.2174141} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"63db1b80-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.549300234Z"}]},"request_id":"d9765360-1eda-4589-b611-c94d751850a5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.2184355} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"63db4290-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63db1b80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/d11c75df-d1e4-4d7b-857b-c60141134a03? 200 14ms","method":"GET","requestID":"63db1b80-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63db4290-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0? 200 14ms","method":"GET","requestID":"63db4290-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Setting up experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully locked booking for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Attempting to update booking for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully updated booking for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully set up experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63e49160-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63e4b870-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63e50690-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully running experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.223784,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63e49160-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"63e49160-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.892909,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63e4b870-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63e4b870-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.873071,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a0c41350-ae3f-41d7-8a59-2cd64f2f7a72","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.2790055} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63e50690-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","rebac_allow":false,"scope_allow":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":"63e50690-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.549300234Z"}]},"request_id":"2e5c77c8-8378-4480-bb06-9ed926f0ad56","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.282256} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"63e4b870-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.499178936Z"}]},"request_id":"4797b6d3-9bf5-46fa-a05f-9a97db092100","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.2859132} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"63e49160-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63e4b870-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0? 200 19ms","method":"GET","requestID":"63e4b870-63bc-11ef-bd85-dbaeea89054b","responseTime":19,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63e50690-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling 200 18ms","method":"POST","requestID":"63e50690-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63e49160-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/d11c75df-d1e4-4d7b-857b-c60141134a03? 200 23ms","method":"GET","requestID":"63e49160-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63e83ae0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63e88900-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"89e38cb1-ced2-41aa-b35a-73453025789f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.298687} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F04902164-e115-46d0-883e-1a06ad96ed43#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F04902164-e115-46d0-883e-1a06ad96ed43","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"24f76598-d959-437d-9dc8-1d3175dc8a34","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.2994628} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1793952c-ad25-410a-8776-fc0210d89376","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.2996824} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.458518,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63e83ae0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","rebac_allow":false,"scope_allow":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":"63e83ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"ea0157094ab8c17ee1b906db71935353","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.120027,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ab6d7327-3209-4402-bca3-624836f910da","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.3019247} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63e88900-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","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":"63e83ae0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63e88900-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling 200 10ms","method":"POST","requestID":"63e83ae0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63e88900-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling 200 11ms","method":"POST","requestID":"63e88900-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63eaabe0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"ea0157094ab8c17ee1b906db71935353"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1219","request_time":"0.151","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"level":"info","message":"POST /experiments? 201 145ms","method":"POST","requestID":"ea0157094ab8c17ee1b906db71935353","responseTime":145,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"38b13e60-5886-4c0a-9654-2d02e9f97264","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.3143497} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"41d44bdcadafb255e120ec2307170fc1"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.99253,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"41d44bdcadafb255e120ec2307170fc1","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63eaabe0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","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":"41d44bdcadafb255e120ec2307170fc1"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"63eaabe0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734686,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63eaabe0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling 200 9ms","method":"POST","requestID":"63eaabe0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"41d44bdcadafb255e120ec2307170fc1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"41d44bdcadafb255e120ec2307170fc1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Building connection plan","requestID":"ea0157094ab8c17ee1b906db71935353"} 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":"a13af00e-f7f4-43ba-b26e-10a1e550b4c8"},{"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":"12598842-64c6-4028-a63d-f902e1a99744"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"148b38ac-6a27-4bb8-936a-9594cbb883f8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"ea0157094ab8c17ee1b906db71935353"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"ea0157094ab8c17ee1b906db71935353"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.499178936Z"}]},"request_id":"6b5acb05-2f43-43b7-beed-df109dc23ee8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.3233528} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"41d44bdcadafb255e120ec2307170fc1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.928015,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"41d44bdcadafb255e120ec2307170fc1"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d11c75df-d1e4-4d7b-857b-c60141134a03? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"41d44bdcadafb255e120ec2307170fc1"} device-1 | {"level":"info","message":"GET /devices/d11c75df-d1e4-4d7b-857b-c60141134a03? 200 12ms","method":"GET","requestID":"41d44bdcadafb255e120ec2307170fc1","responseTime":12,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4","level":"info","message":"auth send jwt","requestID":"83209e61e75ac758837418d2b6cf82ab"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"83209e61e75ac758837418d2b6cf82ab","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"2218fff8-5b39-4940-a754-cff91d7d88c3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.3336878} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"83209e61e75ac758837418d2b6cf82ab"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0111cf89-2eaa-4605-9ee8-d1150d992489","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.3338664} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.750615,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"83209e61e75ac758837418d2b6cf82ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684625,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyNX0.IE86VAsK8JzDXdXbZ02xhXzRPn3zsMomKolc_500_S4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"83209e61e75ac758837418d2b6cf82ab","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:44.549300234Z"}]},"request_id":"6187668c-3d10-46b7-993c-59f9ba82aae0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.340981} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"83209e61e75ac758837418d2b6cf82ab","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf'","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf'","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b"} 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":"63ec80a0-63bc-11ef-bd85-dbaeea89054b","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":"getDevicesByDeviceId succeeded","requestID":"83209e61e75ac758837418d2b6cf82ab"} gateway-1 | {"time_local":"26/Aug/2024:15:03:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"83209e61e75ac758837418d2b6cf82ab"} device-1 | {"level":"info","message":"GET /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0? 200 17ms","method":"GET","requestID":"83209e61e75ac758837418d2b6cf82ab","responseTime":17,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"63ec80a0-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"ea0157094ab8c17ee1b906db71935353"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63f6e0e0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"59f8daf5-8bda-49cd-876d-a11403cbc1cb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.3956316} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.867373,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63f6e0e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63f6e0e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63f6e0e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling 200 10ms","method":"POST","requestID":"63f6e0e0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"63f8dcb0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"635d0c08-5175-4c26-b446-f95e078dab2d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684625.4096503} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.419658,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"63f8dcb0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","rebac_allow":false,"scope_allow":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":"63f8dcb0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"63f8dcb0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling 200 15ms","method":"POST","requestID":"63f8dcb0-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling"} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a535351b63ea90c7cd1be6e05ef87b23","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"a535351b63ea90c7cd1be6e05ef87b23","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf"}}},"level":"info","message":"received a callback","requestID":"a535351b63ea90c7cd1be6e05ef87b23"} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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":"a535351b63ea90c7cd1be6e05ef87b23","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"a535351b63ea90c7cd1be6e05ef87b23"} device-1 | {"data":{"peerconnection":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","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/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ec1ef87e077ad4ea8bfbd2fed531f7eb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"ec1ef87e077ad4ea8bfbd2fed531f7eb","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf"}}},"level":"info","message":"received a callback","requestID":"ec1ef87e077ad4ea8bfbd2fed531f7eb"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"65350630-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8a4e8020-a591-4996-86d1-aaeb488c3591","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.481289} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.342296,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65350630-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","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":"65350630-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"65350630-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf 200 10ms","method":"GET","requestID":"65350630-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"ec1ef87e077ad4ea8bfbd2fed531f7eb","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"ec1ef87e077ad4ea8bfbd2fed531f7eb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"653a8470-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2820db2-4ddc-4a2b-8c23-e4922c8e047a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.517753} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.842255,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"653a8470-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","rebac_allow":false,"scope_allow":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":"653a8470-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"653a8470-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling 200 11ms","method":"POST","requestID":"653a8470-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"653c8040-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6bf1f9f2-d84f-4ce5-8ca7-5026eaa06d75","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.5285} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.210923,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"653c8040-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"653c8040-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"653c8040-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling 200 9ms","method":"POST","requestID":"653c8040-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q","level":"info","message":"auth send jwt","requestID":"b7d3f83ba753cc6dd530f0af70780984"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b7d3f83ba753cc6dd530f0af70780984","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/04902164-e115-46d0-883e-1a06ad96ed43","requestID":"b7d3f83ba753cc6dd530f0af70780984"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.247189,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b7d3f83ba753cc6dd530f0af70780984","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684627,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b7d3f83ba753cc6dd530f0af70780984","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/04902164-e115-46d0-883e-1a06ad96ed43","requestID":"b7d3f83ba753cc6dd530f0af70780984"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/04902164-e115-46d0-883e-1a06ad96ed43 HTTP/1.1","status": "200","body_bytes_sent":"1292","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b7d3f83ba753cc6dd530f0af70780984"} experiment-1 | {"level":"info","message":"GET /experiments/04902164-e115-46d0-883e-1a06ad96ed43 200 16ms","method":"GET","requestID":"b7d3f83ba753cc6dd530f0af70780984","responseTime":16,"status":200,"url":"/experiments/04902164-e115-46d0-883e-1a06ad96ed43"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q","level":"info","message":"auth send jwt","requestID":"b4dbf19225d22dc848cd832660ae128c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b4dbf19225d22dc848cd832660ae128c","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/04902164-e115-46d0-883e-1a06ad96ed43","requestID":"b4dbf19225d22dc848cd832660ae128c"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.378408,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b4dbf19225d22dc848cd832660ae128c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684627,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b4dbf19225d22dc848cd832660ae128c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Attempting to finish experiment","requestID":"b4dbf19225d22dc848cd832660ae128c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"65495180-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.178776,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65495180-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684627,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"65495180-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"3bde67d5-89c1-4d54-a975-d4013d5bd2e0","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"d11c75df-d1e4-4d7b-857b-c60141134a03","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"27ca6c8838ba04e13fbdfbcd35c566fd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"27ca6c8838ba04e13fbdfbcd35c566fd","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ef8cafe-67a4-437c-aca3-f8b998d3b5cf': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"b4f60189-7721-4286-ad91-c125ddcf3955","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.6353726} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4d5219aa-8b97-48cb-8d13-ac19bfc4cbd9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.6358569} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7db55db8b913693ee57929eb3f464ea8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf"}}},"level":"info","message":"received a callback","requestID":"27ca6c8838ba04e13fbdfbcd35c566fd"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7db55db8b913693ee57929eb3f464ea8","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"65495180-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf"}}},"level":"info","message":"received a callback","requestID":"7db55db8b913693ee57929eb3f464ea8"} device-1 | {"data":{"peerconnection":"2ef8cafe-67a4-437c-aca3-f8b998d3b5cf","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"65495180-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf 204 49ms","method":"DELETE","requestID":"65495180-63bc-11ef-bd85-dbaeea89054b","responseTime":49,"status":204,"url":"/peerconnections/2ef8cafe-67a4-437c-aca3-f8b998d3b5cf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/04902164-e115-46d0-883e-1a06ad96ed43"},"level":"info","message":"Successfully finished experiment","requestID":"b4dbf19225d22dc848cd832660ae128c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65549c20-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3bde67d5-89c1-4d54-a975-d4013d5bd2e0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"89572328-4129-44ae-9ae8-9de4c91b3ede","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.6889405} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.841716,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65549c20-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0","object_type":"device","rebac_allow":false,"scope_allow":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":"65549c20-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65549c20-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling 200 14ms","method":"POST","requestID":"65549c20-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/3bde67d5-89c1-4d54-a975-d4013d5bd2e0/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F04902164-e115-46d0-883e-1a06ad96ed43': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F04902164-e115-46d0-883e-1a06ad96ed43","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"7b5d500c-753f-461a-a0d2-7f5f8b54073d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.6980295} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b1fac903-c9fb-4bc2-bf38-101b25aa8564","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.698782} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65575b40-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"b4dbf19225d22dc848cd832660ae128c","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd11c75df-d1e4-4d7b-857b-c60141134a03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c8e1848e-d196-4e1d-bb8e-5f96214ffd10","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.7079237} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.420112,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65575b40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d11c75df-d1e4-4d7b-857b-c60141134a03","object_type":"device","rebac_allow":false,"scope_allow":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":"65575b40-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65575b40-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling 200 15ms","method":"POST","requestID":"65575b40-63bc-11ef-bd85-dbaeea89054b","responseTime":15,"status":200,"url":"/devices/d11c75df-d1e4-4d7b-857b-c60141134a03/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/04902164-e115-46d0-883e-1a06ad96ed43","requestID":"b4dbf19225d22dc848cd832660ae128c"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/04902164-e115-46d0-883e-1a06ad96ed43 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.189","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b4dbf19225d22dc848cd832660ae128c"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2707","request_time":"2.676","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a44bf9410f70ad6eaeeef6b878a831b5"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2709","request_time":"2.687","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"14803115627cda6358adb5f6cfb2ca2c"} experiment-1 | {"level":"info","message":"DELETE /experiments/04902164-e115-46d0-883e-1a06ad96ed43 204 185ms","method":"DELETE","requestID":"b4dbf19225d22dc848cd832660ae128c","responseTime":185,"status":204,"url":"/experiments/04902164-e115-46d0-883e-1a06ad96ed43"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 142ms","method":"POST","requestID":"27ca6c8838ba04e13fbdfbcd35c566fd","responseTime":142,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.148","http_referrer":"","http_user_agent":"node-fetch","requestID":"27ca6c8838ba04e13fbdfbcd35c566fd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 141ms","method":"POST","requestID":"7db55db8b913693ee57929eb3f464ea8","responseTime":141,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.149","http_referrer":"","http_user_agent":"node-fetch","requestID":"7db55db8b913693ee57929eb3f464ea8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q","level":"info","message":"auth send jwt","requestID":"5f3e29f79498e6d8efaf32931eb97985"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5f3e29f79498e6d8efaf32931eb97985","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/d11c75df-d1e4-4d7b-857b-c60141134a03' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"5f3e29f79498e6d8efaf32931eb97985"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.828387,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5f3e29f79498e6d8efaf32931eb97985","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684627,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5f3e29f79498e6d8efaf32931eb97985","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/3bde67d5-89c1-4d54-a975-d4013d5bd2e0' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"df2b5557-b0b3-4948-8aa2-76eba15893c0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8055656} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5f3e29f79498e6d8efaf32931eb97985","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eb933b9d-6578-4b88-92d0-142ac18a9cc8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8111398} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5f3e29f79498e6d8efaf32931eb97985","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"43f7be37-c59f-408e-b6c2-e2d774bd62e2","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8210218} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"912351e3-cd85-4c2a-a4c6-585e63a5ad7e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8213043} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"5f3e29f79498e6d8efaf32931eb97985","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.820992304Z"}]},"request_id":"f1fb8f6a-4fea-473a-8d94-aa6978319fcc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8258176} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5f3e29f79498e6d8efaf32931eb97985","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5f3e29f79498e6d8efaf32931eb97985"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5f3e29f79498e6d8efaf32931eb97985"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"5f3e29f79498e6d8efaf32931eb97985","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q","level":"info","message":"auth send jwt","requestID":"9c97819d4adb7c0d9eae2a66019507c3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9c97819d4adb7c0d9eae2a66019507c3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9c97819d4adb7c0d9eae2a66019507c3"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.99427,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9c97819d4adb7c0d9eae2a66019507c3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684627,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyN30.YS-23k_oucEuqbpSYU2z2CndBvrmGPBecFMZ8QPcR4Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9c97819d4adb7c0d9eae2a66019507c3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a419ec4d-aaf2-494e-b066-d7fcad381f05","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8570964} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9c97819d4adb7c0d9eae2a66019507c3","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5271926b-d3f4-42b9-96f4-0b56ba248003","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.863217} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9c97819d4adb7c0d9eae2a66019507c3","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"10ff49e8-1822-4668-bd55-684fbf96ba5e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.873936} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"99607349-95e0-47b0-b85f-44d6347b7933","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8740942} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"9c97819d4adb7c0d9eae2a66019507c3","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.873899511Z"}]},"request_id":"45f003c3-c623-47dc-8271-1376871acb1a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684627.8792124} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9c97819d4adb7c0d9eae2a66019507c3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9c97819d4adb7c0d9eae2a66019507c3"} gateway-1 | {"time_local":"26/Aug/2024:15:03:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9c97819d4adb7c0d9eae2a66019507c3"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"9c97819d4adb7c0d9eae2a66019507c3","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"c546c785df4024dea6232d691f8edfe9"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"c546c785df4024dea6232d691f8edfe9","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"e082a6fd5cf9617a5b63c886493633be"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e082a6fd5cf9617a5b63c886493633be","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c546c785df4024dea6232d691f8edfe9"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e082a6fd5cf9617a5b63c886493633be"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.59349,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c546c785df4024dea6232d691f8edfe9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c546c785df4024dea6232d691f8edfe9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.721035,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"e082a6fd5cf9617a5b63c886493633be","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e082a6fd5cf9617a5b63c886493633be","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.873899511Z"}]},"request_id":"d0b95bc1-5d79-405c-b611-ffee99e49abb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.372383} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c546c785df4024dea6232d691f8edfe9","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.820992304Z"}]},"request_id":"e99343d2-0904-4356-834f-a807014d2c1c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.3728855} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e082a6fd5cf9617a5b63c886493633be","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8288bf3f-ef89-436c-9a82-3202e31e6b8e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.3764462} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c546c785df4024dea6232d691f8edfe9","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f09e4939-636e-4d78-b32b-4b9c765a259c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.3780277} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e082a6fd5cf9617a5b63c886493633be","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.820992304Z"}]},"request_id":"74d0a5aa-f693-4a47-8769-7b47842d0692","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.380514} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e082a6fd5cf9617a5b63c886493633be","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e082a6fd5cf9617a5b63c886493633be"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e082a6fd5cf9617a5b63c886493633be"} device-1 | {"level":"info","message":"PATCH /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64 200 18ms","method":"PATCH","requestID":"e082a6fd5cf9617a5b63c886493633be","responseTime":18,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"1f23662abc522bca01a22887b9657309"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1f23662abc522bca01a22887b9657309","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1f23662abc522bca01a22887b9657309"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.629769,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"1f23662abc522bca01a22887b9657309","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1f23662abc522bca01a22887b9657309","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.873899511Z"}]},"request_id":"987968b9-a9f8-4008-8e7c-706056fc7c66","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.3921647} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c546c785df4024dea6232d691f8edfe9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c546c785df4024dea6232d691f8edfe9"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/587318f8-042a-4330-abb5-df9d1bca0930 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c546c785df4024dea6232d691f8edfe9"} device-1 | {"level":"info","message":"PATCH /devices/587318f8-042a-4330-abb5-df9d1bca0930 200 32ms","method":"PATCH","requestID":"c546c785df4024dea6232d691f8edfe9","responseTime":32,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"755bc8d0ccda77145fd600d62c983a7f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"755bc8d0ccda77145fd600d62c983a7f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"755bc8d0ccda77145fd600d62c983a7f"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.636213,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"755bc8d0ccda77145fd600d62c983a7f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"755bc8d0ccda77145fd600d62c983a7f","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1f23662abc522bca01a22887b9657309"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1f23662abc522bca01a22887b9657309"} device-1 | {"level":"info","message":"POST /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/websocket 200 18ms","method":"POST","requestID":"1f23662abc522bca01a22887b9657309","responseTime":18,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"755bc8d0ccda77145fd600d62c983a7f"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/587318f8-042a-4330-abb5-df9d1bca0930/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.019","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"755bc8d0ccda77145fd600d62c983a7f"} device-1 | {"level":"info","message":"POST /devices/587318f8-042a-4330-abb5-df9d1bca0930/websocket 200 14ms","method":"POST","requestID":"755bc8d0ccda77145fd600d62c983a7f","responseTime":14,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"3fae728dba87de3b24e1d0a8213725aa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3fae728dba87de3b24e1d0a8213725aa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3fae728dba87de3b24e1d0a8213725aa"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.790268,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3fae728dba87de3b24e1d0a8213725aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3fae728dba87de3b24e1d0a8213725aa","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.820992304Z"}]},"request_id":"497f9192-05e0-41b0-b0b8-6a806788dc14","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.4468105} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3fae728dba87de3b24e1d0a8213725aa","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3fae728dba87de3b24e1d0a8213725aa"} device-1 | {"level":"info","message":"GET /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64? 200 9ms","method":"GET","requestID":"3fae728dba87de3b24e1d0a8213725aa","responseTime":9,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3fae728dba87de3b24e1d0a8213725aa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"75e75f0508add3e52394382307e083b1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"75e75f0508add3e52394382307e083b1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"75e75f0508add3e52394382307e083b1"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.973174,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"75e75f0508add3e52394382307e083b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"75e75f0508add3e52394382307e083b1","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.873899511Z"}]},"request_id":"82f519e1-2fab-4544-ba45-b7785170104d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.464843} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"75e75f0508add3e52394382307e083b1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"75e75f0508add3e52394382307e083b1"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/587318f8-042a-4330-abb5-df9d1bca0930? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"75e75f0508add3e52394382307e083b1"} device-1 | {"level":"info","message":"GET /devices/587318f8-042a-4330-abb5-df9d1bca0930? 200 12ms","method":"GET","requestID":"75e75f0508add3e52394382307e083b1","responseTime":12,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3e2b2616021e7f0bef8b7518f26f4101","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.874524,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3e2b2616021e7f0bef8b7518f26f4101","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3e2b2616021e7f0bef8b7518f26f4101","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Attempting to run experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Attempting to book experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully booked experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"65d47a80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"65d4a190-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.140359,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65d47a80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"65d47a80-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.023415,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65d4a190-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"65d4a190-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.820992304Z"}]},"request_id":"cea2a0c0-ae98-4665-9d11-62c6c7a36aaa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.5309691} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"65d47a80-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.873899511Z"}]},"request_id":"6650d1e3-7168-43eb-842f-7f9e232966ed","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.53172} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"65d4a190-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"65d47a80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64? 200 18ms","method":"GET","requestID":"65d47a80-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"65d4a190-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/587318f8-042a-4330-abb5-df9d1bca0930? 200 18ms","method":"GET","requestID":"65d4a190-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Setting up experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully set up experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"65dfec30-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"65e03a50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65e06160-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully running experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.281889,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65dfec30-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"65dfec30-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.077411,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65e03a50-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"65e03a50-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b445e216-fa9f-4544-80cf-da0a57d4af9e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6064794} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.064655,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65e06160-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","rebac_allow":false,"scope_allow":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":"65e06160-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.820992304Z"}]},"request_id":"701a3549-6758-49a7-9c7a-cab4a86a19df","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6095066} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.873899511Z"}]},"request_id":"8bb61b2f-b197-465a-bd7f-4a937982bef7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6113591} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"65dfec30-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"65e03a50-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65e06160-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling 200 22ms","method":"POST","requestID":"65e06160-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"65dfec30-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64? 200 27ms","method":"GET","requestID":"65dfec30-63bc-11ef-bd85-dbaeea89054b","responseTime":27,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"65e03a50-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/587318f8-042a-4330-abb5-df9d1bca0930? 200 26ms","method":"GET","requestID":"65e03a50-63bc-11ef-bd85-dbaeea89054b","responseTime":26,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65e45900-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c88aa0c-9a3c-4434-98b1-bd92624bea3f#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c88aa0c-9a3c-4434-98b1-bd92624bea3f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"ec911291-cf8e-47a8-9136-300c1ca99a39","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6256819} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6de70b76-3bff-46ef-820a-55f8fab6d717","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6259634} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65e4f540-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"3e2b2616021e7f0bef8b7518f26f4101","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7a657a25-e6fe-474e-a83f-174681f85a05","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6307101} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.052308,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65e45900-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","rebac_allow":false,"scope_allow":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":"65e45900-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b863ce6-5308-4c46-9f21-bd2f5089af5c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6346576} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.994042,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65e45900-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling 200 12ms","method":"POST","requestID":"65e45900-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65e4f540-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","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/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"65e4f540-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1219","request_time":"0.168","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"level":"info","message":"POST /experiments? 201 163ms","method":"POST","requestID":"3e2b2616021e7f0bef8b7518f26f4101","responseTime":163,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65e4f540-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling 200 11ms","method":"POST","requestID":"65e4f540-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65e6f110-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"24719ecfc0ffd97e2668a91ea003cf74"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"24719ecfc0ffd97e2668a91ea003cf74","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"24719ecfc0ffd97e2668a91ea003cf74"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.768344,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"24719ecfc0ffd97e2668a91ea003cf74","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"24719ecfc0ffd97e2668a91ea003cf74","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"40570446-e203-4b5a-b454-97b531311eb6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6469312} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.963919,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65e6f110-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","rebac_allow":false,"scope_allow":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":"65e6f110-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.820992304Z"}]},"request_id":"966d8466-aefc-436f-8e8b-277d21ed5f89","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6527872} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65e6f110-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling 200 12ms","method":"POST","requestID":"65e6f110-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"24719ecfc0ffd97e2668a91ea003cf74","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Building connection plan","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} 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":"9d3cb00b-7f4d-42c9-afcd-e6cfc8cb68d8"},{"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":"4908c92c-a27a-4134-8ec5-2b54db911719"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"372405d2-c4cd-41d6-b07e-d6aec46e84bb"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} experiment-1 | {"data":{"connectionPlan":[{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"24719ecfc0ffd97e2668a91ea003cf74"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"24719ecfc0ffd97e2668a91ea003cf74"} device-1 | {"level":"info","message":"GET /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64? 200 15ms","method":"GET","requestID":"24719ecfc0ffd97e2668a91ea003cf74","responseTime":15,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64?"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.937133,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68","level":"info","message":"auth send jwt","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.998913,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684628,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYyOH0.tzWPXD8V2Ism9tUPp4dloHcq_ZRjNfPGeOV0naJuE68"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"b41eee93-5785-4a5e-af05-f4ccc626ce2c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.675117} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f391405f-98eb-4eb8-a69e-41d3b5bf250e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.675489} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:47.873899511Z"}]},"request_id":"4567ebe9-810b-4290-99f7-e0408c760e4f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.6760614} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97"} device-1 | {"level":"info","message":"GET /devices/587318f8-042a-4330-abb5-df9d1bca0930? 200 19ms","method":"GET","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97","responseTime":19,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/587318f8-042a-4330-abb5-df9d1bca0930? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c9cf3ed0f2314e4f5159d31a3ffefb97"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9'","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9'","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 38ms","method":"POST","requestID":"65e93b00-63bc-11ef-bd85-dbaeea89054b","responseTime":38,"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":"65e93b00-63bc-11ef-bd85-dbaeea89054b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3e2b2616021e7f0bef8b7518f26f4101"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65f3e960-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5cfaa1f-50ad-46ae-bc0d-f827a39bf107","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.7316475} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.309439,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65f3e960-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","rebac_allow":false,"scope_allow":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":"65f3e960-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65f3e960-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling 200 10ms","method":"POST","requestID":"65f3e960-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"65f5e530-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"10881115-8319-40bd-b4e1-811d26f748d1","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684628.7446313} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.162566,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"65f5e530-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","rebac_allow":false,"scope_allow":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":"65f5e530-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"65f5e530-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling 200 11ms","method":"POST","requestID":"65f5e530-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling"} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-local-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"33e602f7-827f-473c-a43f-09ad237f24a9","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new have-remote-offer","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"33e602f7-827f-473c-a43f-09ad237f24a9","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged new new stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/33e602f7-827f-473c-a43f-09ad237f24a9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"33e602f7-827f-473c-a43f-09ad237f24a9","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2f22a847722453d0f99c019330e77052","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"2f22a847722453d0f99c019330e77052","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9"}}},"level":"info","message":"received a callback","requestID":"2f22a847722453d0f99c019330e77052"} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.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":"2f22a847722453d0f99c019330e77052","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"2f22a847722453d0f99c019330e77052"} device-1 | {"data":{"peerconnection":"33e602f7-827f-473c-a43f-09ad237f24a9","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connected completed stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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":"33e602f7-827f-473c-a43f-09ad237f24a9","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/33e602f7-827f-473c-a43f-09ad237f24a9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"33e602f7-827f-473c-a43f-09ad237f24a9","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"295ec9bdd1b0b2d35bbc76a7a011735d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"295ec9bdd1b0b2d35bbc76a7a011735d","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9"}}},"level":"info","message":"received a callback","requestID":"295ec9bdd1b0b2d35bbc76a7a011735d"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"67336e40-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F33e602f7-827f-473c-a43f-09ad237f24a9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9700915-236f-4dc4-85de-bfe99d8eadfb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684630.8259254} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.191241,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"67336e40-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9","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":"67336e40-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"67336e40-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9 200 12ms","method":"GET","requestID":"67336e40-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"295ec9bdd1b0b2d35bbc76a7a011735d","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.046","http_referrer":"","http_user_agent":"node-fetch","requestID":"295ec9bdd1b0b2d35bbc76a7a011735d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6738ec80-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"af3c6439-6651-465f-ac35-3ed7038fd76a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684630.8613791} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.9943,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6738ec80-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","rebac_allow":false,"scope_allow":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":"6738ec80-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6738ec80-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling 200 12ms","method":"POST","requestID":"6738ec80-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"673b3670-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a7af9fe1-6541-4034-858f-e22315dac319","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684630.8771627} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.560012,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"673b3670-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","rebac_allow":false,"scope_allow":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":"673b3670-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"673b3670-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling 200 12ms","method":"POST","requestID":"673b3670-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMH0.DQcTj5vzHNNw_RwLDvc298iw8Yo9xhrL88gQY27-7LI","level":"info","message":"auth send jwt","requestID":"d9dd552229a1a53126c7397899d7d8f2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d9dd552229a1a53126c7397899d7d8f2","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","requestID":"d9dd552229a1a53126c7397899d7d8f2"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.201227,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d9dd552229a1a53126c7397899d7d8f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684630,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMH0.DQcTj5vzHNNw_RwLDvc298iw8Yo9xhrL88gQY27-7LI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d9dd552229a1a53126c7397899d7d8f2","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","requestID":"d9dd552229a1a53126c7397899d7d8f2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f HTTP/1.1","status": "200","body_bytes_sent":"1292","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d9dd552229a1a53126c7397899d7d8f2"} experiment-1 | {"level":"info","message":"GET /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f 200 16ms","method":"GET","requestID":"d9dd552229a1a53126c7397899d7d8f2","responseTime":16,"status":200,"url":"/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMH0.DQcTj5vzHNNw_RwLDvc298iw8Yo9xhrL88gQY27-7LI","level":"info","message":"auth send jwt","requestID":"0f2884990a9158a3b3812a4e55416532"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0f2884990a9158a3b3812a4e55416532","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","requestID":"0f2884990a9158a3b3812a4e55416532"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.254887,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0f2884990a9158a3b3812a4e55416532","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684630,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMH0.DQcTj5vzHNNw_RwLDvc298iw8Yo9xhrL88gQY27-7LI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0f2884990a9158a3b3812a4e55416532","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Attempting to finish experiment","requestID":"0f2884990a9158a3b3812a4e55416532"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6746f640-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.338499,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6746f640-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684630,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMH0.DQcTj5vzHNNw_RwLDvc298iw8Yo9xhrL88gQY27-7LI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6746f640-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"587318f8-042a-4330-abb5-df9d1bca0930","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"device":"55fa536d-03ef-44a3-9151-0ac7501f4c64","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged closed closed closed","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","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/33e602f7-827f-473c-a43f-09ad237f24a9' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"33e602f7-827f-473c-a43f-09ad237f24a9","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F33e602f7-827f-473c-a43f-09ad237f24a9': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F33e602f7-827f-473c-a43f-09ad237f24a9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"3862c6e1-8827-4bd5-a449-d5438c93ebf3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684630.9724903} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a5741472c7f01acdb89b6229764f1305","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"a5741472c7f01acdb89b6229764f1305","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"16b1ca21-fa88-4de7-bd9e-99300db0a95f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684630.9731865} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"6746f640-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"472e7eaa187c1b8bb1eddc68bc4006f3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9"}}},"level":"info","message":"received a callback","requestID":"a5741472c7f01acdb89b6229764f1305"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"472e7eaa187c1b8bb1eddc68bc4006f3","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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64"},{"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"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9"}}},"level":"info","message":"received a callback","requestID":"472e7eaa187c1b8bb1eddc68bc4006f3"} device-1 | {"data":{"peerconnection":"33e602f7-827f-473c-a43f-09ad237f24a9","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6746f640-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9 204 49ms","method":"DELETE","requestID":"6746f640-63bc-11ef-bd85-dbaeea89054b","responseTime":49,"status":204,"url":"/peerconnections/33e602f7-827f-473c-a43f-09ad237f24a9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"},"level":"info","message":"Successfully finished experiment","requestID":"0f2884990a9158a3b3812a4e55416532"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"675219d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F55fa536d-03ef-44a3-9151-0ac7501f4c64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"880c26d6-141f-4c60-a856-c13fb1ce8b44","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.0275862} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.89668,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"675219d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64","object_type":"device","rebac_allow":false,"scope_allow":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":"675219d0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"675219d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling 200 14ms","method":"POST","requestID":"675219d0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/55fa536d-03ef-44a3-9151-0ac7501f4c64/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c88aa0c-9a3c-4434-98b1-bd92624bea3f': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F1c88aa0c-9a3c-4434-98b1-bd92624bea3f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"e41e7087-1bc6-42d2-b6d2-8f6e11979ff5","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.0352838} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca4e98b1-e3db-416b-9607-70b675e4df9d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.03593} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"0f2884990a9158a3b3812a4e55416532","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6754d8f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F587318f8-042a-4330-abb5-df9d1bca0930","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"79f53c7d-de35-4eec-90c3-93b595cf7e9e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.045801} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.922568,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6754d8f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/587318f8-042a-4330-abb5-df9d1bca0930","object_type":"device","rebac_allow":false,"scope_allow":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":"6754d8f0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6754d8f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling 200 14ms","method":"POST","requestID":"6754d8f0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/587318f8-042a-4330-abb5-df9d1bca0930/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f","requestID":"0f2884990a9158a3b3812a4e55416532"} gateway-1 | {"time_local":"26/Aug/2024:15:03:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.187","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0f2884990a9158a3b3812a4e55416532"} gateway-1 | {"time_local":"26/Aug/2024:15:03:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2709","request_time":"2.704","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"b592f958551f1741f069fdd80fad7ab4"} experiment-1 | {"level":"info","message":"DELETE /experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f 204 182ms","method":"DELETE","requestID":"0f2884990a9158a3b3812a4e55416532","responseTime":182,"status":204,"url":"/experiments/1c88aa0c-9a3c-4434-98b1-bd92624bea3f"} gateway-1 | {"time_local":"26/Aug/2024:15:03:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2707","request_time":"2.696","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9af2c456af7ffe9e99a8cc4ccf78e7e5"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.145","http_referrer":"","http_user_agent":"node-fetch","requestID":"a5741472c7f01acdb89b6229764f1305"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 140ms","method":"POST","requestID":"a5741472c7f01acdb89b6229764f1305","responseTime":140,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 139ms","method":"POST","requestID":"472e7eaa187c1b8bb1eddc68bc4006f3","responseTime":139,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.145","http_referrer":"","http_user_agent":"node-fetch","requestID":"472e7eaa187c1b8bb1eddc68bc4006f3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMX0.1aeQFvulvoIXXniB70P5H7PJcqiYCNTtardT2--ssI4","level":"info","message":"auth send jwt","requestID":"3845513a04a3947cb248333e6f31d809"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3845513a04a3947cb248333e6f31d809","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/587318f8-042a-4330-abb5-df9d1bca0930' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"3845513a04a3947cb248333e6f31d809"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.859772,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"3845513a04a3947cb248333e6f31d809","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684631,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMX0.1aeQFvulvoIXXniB70P5H7PJcqiYCNTtardT2--ssI4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3845513a04a3947cb248333e6f31d809","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/55fa536d-03ef-44a3-9151-0ac7501f4c64' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ef5ce7c0-62fb-4149-9bd1-a1ef33cf55b6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.1394432} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3845513a04a3947cb248333e6f31d809","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2b7859c7-07ba-4a24-85fe-0cb51c93609d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.1444585} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3845513a04a3947cb248333e6f31d809","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"ad2fe208-bd01-4bdd-b909-efe0fbf63168","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.1548715} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a7a695e2-6a06-441b-8ce1-962557b7a3b0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.1550224} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"3845513a04a3947cb248333e6f31d809","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.154822882Z"}]},"request_id":"fd78e229-106c-42d2-81df-7767ad63c142","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.1598315} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3845513a04a3947cb248333e6f31d809","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3845513a04a3947cb248333e6f31d809"} gateway-1 | {"time_local":"26/Aug/2024:15:03:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3845513a04a3947cb248333e6f31d809"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"3845513a04a3947cb248333e6f31d809","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMX0.1aeQFvulvoIXXniB70P5H7PJcqiYCNTtardT2--ssI4","level":"info","message":"auth send jwt","requestID":"089fbd83e5379dbcb6c2ac9145cb143b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"089fbd83e5379dbcb6c2ac9145cb143b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"089fbd83e5379dbcb6c2ac9145cb143b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.72294,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:51Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"089fbd83e5379dbcb6c2ac9145cb143b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684631,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzMX0.1aeQFvulvoIXXniB70P5H7PJcqiYCNTtardT2--ssI4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"089fbd83e5379dbcb6c2ac9145cb143b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"88c06322-59e8-431b-88b5-cb28c36ac1c8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.1890633} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"089fbd83e5379dbcb6c2ac9145cb143b","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"66a1953d-1bb9-45e1-b8c7-4454b00c3880","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.194159} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"089fbd83e5379dbcb6c2ac9145cb143b","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"14718585-7f21-4d85-9b16-1e5fab5eedd6","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.20614} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10d249c7-3589-41c1-8d38-7a3c714553fb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.2062788} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"089fbd83e5379dbcb6c2ac9145cb143b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.206104410Z"}]},"request_id":"25b0e4bc-03df-4c19-8124-e87fc31e0d21","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684631.2126005} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"089fbd83e5379dbcb6c2ac9145cb143b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"089fbd83e5379dbcb6c2ac9145cb143b"} gateway-1 | {"time_local":"26/Aug/2024:15:03:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"089fbd83e5379dbcb6c2ac9145cb143b"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"089fbd83e5379dbcb6c2ac9145cb143b","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ea26fa110d70440254856c115ddcb67c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"ea26fa110d70440254856c115ddcb67c","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a26bc790bbd35d2bdb7dd10a44c6a62c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/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":"ea26fa110d70440254856c115ddcb67c"} device-1 | {"level":"info","message":"OPTIONS /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/websocket 200 1ms","method":"OPTIONS","requestID":"ea26fa110d70440254856c115ddcb67c","responseTime":1,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a26bc790bbd35d2bdb7dd10a44c6a62c","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","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":"a26bc790bbd35d2bdb7dd10a44c6a62c"} device-1 | {"level":"info","message":"OPTIONS /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/websocket 200 1ms","method":"OPTIONS","requestID":"a26bc790bbd35d2bdb7dd10a44c6a62c","responseTime":1,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"6a127000ee0691d7497b4b755decafe2"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"6a127000ee0691d7497b4b755decafe2","responseTime":8,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"353d7d5ac1e9e49413bdc918e363d49a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"353d7d5ac1e9e49413bdc918e363d49a","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6a127000ee0691d7497b4b755decafe2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"353d7d5ac1e9e49413bdc918e363d49a"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.028094,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a127000ee0691d7497b4b755decafe2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6a127000ee0691d7497b4b755decafe2","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.411357,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"353d7d5ac1e9e49413bdc918e363d49a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"353d7d5ac1e9e49413bdc918e363d49a","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"353d7d5ac1e9e49413bdc918e363d49a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/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":"353d7d5ac1e9e49413bdc918e363d49a"} device-1 | {"level":"info","message":"POST /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/websocket 200 16ms","method":"POST","requestID":"353d7d5ac1e9e49413bdc918e363d49a","responseTime":16,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6a127000ee0691d7497b4b755decafe2"} device-1 | {"level":"info","message":"POST /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/websocket 200 30ms","method":"POST","requestID":"6a127000ee0691d7497b4b755decafe2","responseTime":30,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.040","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6a127000ee0691d7497b4b755decafe2"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"548413bcc31c593e546b7620b39bfc5a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"548413bcc31c593e546b7620b39bfc5a","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"548413bcc31c593e546b7620b39bfc5a"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.138452,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"548413bcc31c593e546b7620b39bfc5a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"548413bcc31c593e546b7620b39bfc5a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.154822882Z"}]},"request_id":"eb54a259-e101-40b5-94e6-62671d36ecd3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.2529984} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"548413bcc31c593e546b7620b39bfc5a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"548413bcc31c593e546b7620b39bfc5a"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e35402f9-68ef-4d56-a868-eb83e87f5638? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"548413bcc31c593e546b7620b39bfc5a"} device-1 | {"level":"info","message":"GET /devices/e35402f9-68ef-4d56-a868-eb83e87f5638? 200 17ms","method":"GET","requestID":"548413bcc31c593e546b7620b39bfc5a","responseTime":17,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"07e3ad38db239237f25ae58f253fa591"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"07e3ad38db239237f25ae58f253fa591","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"07e3ad38db239237f25ae58f253fa591"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.163712,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"07e3ad38db239237f25ae58f253fa591","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"07e3ad38db239237f25ae58f253fa591","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.206104410Z"}]},"request_id":"7f7925e4-2af5-4743-b070-8d2a5722e79a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.2758744} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"07e3ad38db239237f25ae58f253fa591","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"07e3ad38db239237f25ae58f253fa591"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"07e3ad38db239237f25ae58f253fa591"} device-1 | {"level":"info","message":"GET /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc? 200 16ms","method":"GET","requestID":"07e3ad38db239237f25ae58f253fa591","responseTime":16,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"b51a795c866cab23f1984b7100fe0c13"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b51a795c866cab23f1984b7100fe0c13","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"b51a795c866cab23f1984b7100fe0c13"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.29104,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"b51a795c866cab23f1984b7100fe0c13","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b51a795c866cab23f1984b7100fe0c13","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Attempting to run experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Attempting to book experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully booked experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"68b29430-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"68b2e250-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.237917,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68b29430-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"68b29430-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.785977,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68b2e250-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"68b2e250-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.154822882Z"}]},"request_id":"f11bdb11-9209-4d84-9c33-76fcf666af0e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.3435152} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"68b29430-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.206104410Z"}]},"request_id":"9ad78780-9ec1-41e7-b0d7-50e47baff8b0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.3451283} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"68b2e250-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"68b29430-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/e35402f9-68ef-4d56-a868-eb83e87f5638? 200 21ms","method":"GET","requestID":"68b29430-63bc-11ef-bd85-dbaeea89054b","responseTime":21,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"68b2e250-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc? 200 20ms","method":"GET","requestID":"68b2e250-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Setting up experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully locked booking for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Attempting to update booking for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully updated booking for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully set up experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"68be05e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"68be5400-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68bea220-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.269923,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully running experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68be05e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"68be05e0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.089473,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68be5400-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"68be5400-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2673a863-5030-43d8-8bde-bb283ea5a444","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.418606} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.287972,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68bea220-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","rebac_allow":false,"scope_allow":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":"68bea220-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.206104410Z"}]},"request_id":"053f448a-a062-4831-8abd-2fdd841cd68f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4217625} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"68be5400-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.154822882Z"}]},"request_id":"8dad2b32-c2e4-4dcb-8cfd-b69d220e7274","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.42549} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"68be05e0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68bea220-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling 200 18ms","method":"POST","requestID":"68bea220-63bc-11ef-bd85-dbaeea89054b","responseTime":18,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68c1d670-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"68be5400-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc? 200 25ms","method":"GET","requestID":"68be5400-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"68be05e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/e35402f9-68ef-4d56-a868-eb83e87f5638? 200 28ms","method":"GET","requestID":"68be05e0-63bc-11ef-bd85-dbaeea89054b","responseTime":28,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F27bd6974-bb3a-400f-8e66-464c8e4d5201#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F27bd6974-bb3a-400f-8e66-464c8e4d5201","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"66e40f99-63a0-42d3-9494-31493063be80","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4337132} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0d500f47-68c6-40bc-961d-b0dba38c0f3e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4339824} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"b51a795c866cab23f1984b7100fe0c13","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b313f516-2023-471c-8098-48d9a7465a0b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4371946} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68c2c0d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.455767,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68c1d670-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","rebac_allow":false,"scope_allow":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":"68c1d670-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68c1d670-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"964bc4fc-0e32-4d02-943a-4a2de2fdbe7a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4421985} device-1 | {"level":"info","message":"POST /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling 200 11ms","method":"POST","requestID":"68c1d670-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"b51a795c866cab23f1984b7100fe0c13"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.040323,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.160","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"level":"info","message":"POST /experiments? 201 153ms","method":"POST","requestID":"b51a795c866cab23f1984b7100fe0c13","responseTime":153,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68c2c0d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"68c2c0d0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68c2c0d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling 200 9ms","method":"POST","requestID":"68c2c0d0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"cd9539ad246bcbcb266d84f6469e56ce"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cd9539ad246bcbcb266d84f6469e56ce","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68c49590-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cd9539ad246bcbcb266d84f6469e56ce"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.787611,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"cd9539ad246bcbcb266d84f6469e56ce","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cd9539ad246bcbcb266d84f6469e56ce","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c4907b9d-eb8f-4bcc-a3e7-181ec962e47d","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4535186} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.603752,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68c49590-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"68c49590-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.154822882Z"}]},"request_id":"d5b4efb0-8921-4407-bef7-cc89c4c12d83","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4569817} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68c49590-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling 200 8ms","method":"POST","requestID":"68c49590-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cd9539ad246bcbcb266d84f6469e56ce","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Building connection plan","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"ef2e43f4-3834-4374-8a6b-ac673a853cb9"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"6eaaaea7-ddfc-4e59-b6bc-e0a27d64b8bd"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"27711745-574f-4a69-9e22-aadd170ba9a2"}]},"level":"info","message":"Built pairwise service configurations","requestID":"b51a795c866cab23f1984b7100fe0c13"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"b51a795c866cab23f1984b7100fe0c13"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cd9539ad246bcbcb266d84f6469e56ce"} device-1 | {"level":"info","message":"GET /devices/e35402f9-68ef-4d56-a868-eb83e87f5638? 200 10ms","method":"GET","requestID":"cd9539ad246bcbcb266d84f6469e56ce","responseTime":10,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e35402f9-68ef-4d56-a868-eb83e87f5638? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cd9539ad246bcbcb266d84f6469e56ce"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.735531,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"64b2b74777ea350a0de003f452844f71"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"64b2b74777ea350a0de003f452844f71","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"64b2b74777ea350a0de003f452844f71"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.70789,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"64b2b74777ea350a0de003f452844f71","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"64b2b74777ea350a0de003f452844f71","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:51.206104410Z"}]},"request_id":"6b2dc97b-2aa6-4d36-b197-c6e70490e914","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4729173} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"64b2b74777ea350a0de003f452844f71","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"89504211-e9ea-4621-8051-8fd8fac75040","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4738588} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c0b42e78-6da5-472b-b357-355bb0845edb","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.4741538} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"64b2b74777ea350a0de003f452844f71"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"64b2b74777ea350a0de003f452844f71"} device-1 | {"level":"info","message":"GET /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc? 200 11ms","method":"GET","requestID":"64b2b74777ea350a0de003f452844f71","responseTime":11,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf'","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf'","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"68c64340-63bc-11ef-bd85-dbaeea89054b"} 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":"68c64340-63bc-11ef-bd85-dbaeea89054b","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":"68c64340-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","device":"e35402f9-68ef-4d56-a868-eb83e87f5638","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"b51a795c866cab23f1984b7100fe0c13"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68cea7b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed7a0ffe-53a5-4f95-be4a-2edaf6f7a49b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.5192113} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.382042,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} device-1 | {"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68cea7b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling 200 11ms","method":"POST","requestID":"68cea7b0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68cea7b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"68cea7b0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68d0a380-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} device-1 | {"content":{"canTrickle":true},"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3c6673a8-13af-4196-9c78-c5039329cde7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.534028} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.826269,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68d0a380-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","rebac_allow":false,"scope_allow":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":"68d0a380-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68d0a380-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling 200 12ms","method":"POST","requestID":"68d0a380-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 7998830757601190990 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:CTuV\r\na=ice-pwd:gRKS5eJz/W5/0Fy2knjH5qCH\r\na=ice-options:trickle\r\na=fingerprint:sha-256 AD:4D:20:D5:F4:60:CD:67:2B:BE:6C:39:61:AA:42:88:FD:4C:C7:3A:5D:BC:44:25:36:B9:0D:42:5D:EE:02:6B\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 3028342267323360465 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:09zy\r\na=ice-pwd:tgW1uy5kgR+hY4zrUOLKL+y9\r\na=ice-options:trickle\r\na=fingerprint:sha-256 CE:8D:5F:D5:9F:7B:C6:51:0E:83:C5:7E:06:D1:04:47:05:4D:B7:EE:36:8C:4D:A7:8E:4E:F1:AC:FC:1F:8C:22\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:4121833174 1 udp 2113937151 9996a56a-cb8a-4a78-a9f5-e0692d9a944f.local 38469 typ host generation 0 ufrag 09zy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1720029125 1 udp 1677729535 141.24.211.56 38469 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 09zy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1992519745 1 udp 2113937151 4f6ada63-d715-455a-b241-9fd46041fc1c.local 34841 typ host generation 0 ufrag CTuV network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3857240402 1 udp 1677729535 141.24.211.56 34841 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag CTuV network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","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/b5b4984b-eeda-4343-8a4f-4100590f3dfc'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638'"} device-1 | {"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","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/106b1d8a-8371-45da-8a91-5c6a4bce9bdf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"106b1d8a-8371-45da-8a91-5c6a4bce9bdf","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","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":"64cabbcb6d5925a942cb2be18b7a1c31","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf"}}},"level":"info","message":"received a callback","requestID":"64cabbcb6d5925a942cb2be18b7a1c31"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"64cabbcb6d5925a942cb2be18b7a1c31","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"64cabbcb6d5925a942cb2be18b7a1c31"} device-1 | {"device":"e35402f9-68ef-4d56-a868-eb83e87f5638","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","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":"64cabbcb6d5925a942cb2be18b7a1c31","responseTime":6,"status":200,"url":"/callbacks/experiment"} device-1 | {"data":{"peerconnection":"106b1d8a-8371-45da-8a91-5c6a4bce9bdf","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"106b1d8a-8371-45da-8a91-5c6a4bce9bdf","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/106b1d8a-8371-45da-8a91-5c6a4bce9bdf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"106b1d8a-8371-45da-8a91-5c6a4bce9bdf","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"32aed815c7509806735c04240045e54f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"32aed815c7509806735c04240045e54f","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf"}}},"level":"info","message":"received a callback","requestID":"32aed815c7509806735c04240045e54f"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"68dba000-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F106b1d8a-8371-45da-8a91-5c6a4bce9bdf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2672f221-119e-4c1d-94c0-5eee6bf203a7","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.604546} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.126402,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68dba000-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","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":"68dba000-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"68dba000-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf 200 7ms","method":"GET","requestID":"68dba000-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 32ms","method":"POST","requestID":"32aed815c7509806735c04240045e54f","responseTime":32,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"32aed815c7509806735c04240045e54f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68dfe5c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"29c38fb0-ba1e-44c6-bafb-a166bb47ce3b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.6321342} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.050527,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68dfe5c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","rebac_allow":false,"scope_allow":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":"68dfe5c0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68dfe5c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling 200 7ms","method":"POST","requestID":"68dfe5c0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68e14550-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"62ac8cbc-ca41-4880-a7fc-73be52d006ed","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.6412091} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.462076,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68e14550-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","rebac_allow":false,"scope_allow":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":"68e14550-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68e14550-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling 200 7ms","method":"POST","requestID":"68e14550-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"5a55085b887f4f2929e5ace9b5065ef2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5a55085b887f4f2929e5ace9b5065ef2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","requestID":"5a55085b887f4f2929e5ace9b5065ef2"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.790267,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"5a55085b887f4f2929e5ace9b5065ef2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5a55085b887f4f2929e5ace9b5065ef2","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","requestID":"5a55085b887f4f2929e5ace9b5065ef2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201 HTTP/1.1","status": "200","body_bytes_sent":"880","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5a55085b887f4f2929e5ace9b5065ef2"} experiment-1 | {"level":"info","message":"GET /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201 200 11ms","method":"GET","requestID":"5a55085b887f4f2929e5ace9b5065ef2","responseTime":11,"status":200,"url":"/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"8a232b6281fb7bdc69febe7087c72ad2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8a232b6281fb7bdc69febe7087c72ad2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","requestID":"8a232b6281fb7bdc69febe7087c72ad2"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.64225,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"8a232b6281fb7bdc69febe7087c72ad2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8a232b6281fb7bdc69febe7087c72ad2","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Attempting to finish experiment","requestID":"8a232b6281fb7bdc69febe7087c72ad2"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"68ecb700-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.750762,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68ecb700-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"68ecb700-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","device":"b5b4984b-eeda-4343-8a4f-4100590f3dfc","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf","device":"e35402f9-68ef-4d56-a868-eb83e87f5638","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/106b1d8a-8371-45da-8a91-5c6a4bce9bdf' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"106b1d8a-8371-45da-8a91-5c6a4bce9bdf","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F106b1d8a-8371-45da-8a91-5c6a4bce9bdf': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F106b1d8a-8371-45da-8a91-5c6a4bce9bdf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"990ec330-8ec0-4b7d-a30c-a7b20622f3bc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.7365704} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"052db0fbfd37fc854f6ce7849ee81f90","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"085da268-f86e-4cd6-b5b0-15dbbf37f935","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.7372468} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"052db0fbfd37fc854f6ce7849ee81f90","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"68ecb700-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"90b25653d8d9233b7f65693c7f5e51ac","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf"}}},"level":"info","message":"received a callback","requestID":"052db0fbfd37fc854f6ce7849ee81f90"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"90b25653d8d9233b7f65693c7f5e51ac","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf"}}},"level":"info","message":"received a callback","requestID":"90b25653d8d9233b7f65693c7f5e51ac"} device-1 | {"data":{"peerconnection":"106b1d8a-8371-45da-8a91-5c6a4bce9bdf","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"68ecb700-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf 204 51ms","method":"DELETE","requestID":"68ecb700-63bc-11ef-bd85-dbaeea89054b","responseTime":51,"status":204,"url":"/peerconnections/106b1d8a-8371-45da-8a91-5c6a4bce9bdf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"},"level":"info","message":"Successfully finished experiment","requestID":"8a232b6281fb7bdc69febe7087c72ad2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68f84fc0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb5b4984b-eeda-4343-8a4f-4100590f3dfc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dcce0312-dca4-47c0-ad84-d9cd8e097d71","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.7948995} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.968571,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68f84fc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc","object_type":"device","rebac_allow":false,"scope_allow":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":"68f84fc0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68f84fc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling 200 13ms","method":"POST","requestID":"68f84fc0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc/signaling"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F27bd6974-bb3a-400f-8e66-464c8e4d5201': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F27bd6974-bb3a-400f-8e66-464c8e4d5201","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"976c58b4-de14-48a5-b5fc-fad2871036b9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.8023434} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"131861f4-2d20-43c2-bd28-4ee143db845a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.8028066} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68fac0c0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"8a232b6281fb7bdc69febe7087c72ad2","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35402f9-68ef-4d56-a868-eb83e87f5638","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92ff069a-223f-443b-aedb-6c6226492e50","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.810082} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.879361,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"68fac0c0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35402f9-68ef-4d56-a868-eb83e87f5638","object_type":"device","rebac_allow":false,"scope_allow":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":"68fac0c0-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68fac0c0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling 200 11ms","method":"POST","requestID":"68fac0c0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/e35402f9-68ef-4d56-a868-eb83e87f5638/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201","requestID":"8a232b6281fb7bdc69febe7087c72ad2"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201 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":"8a232b6281fb7bdc69febe7087c72ad2"} experiment-1 | {"level":"info","message":"DELETE /experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201 204 176ms","method":"DELETE","requestID":"8a232b6281fb7bdc69febe7087c72ad2","responseTime":176,"status":204,"url":"/experiments/27bd6974-bb3a-400f-8e66-464c8e4d5201"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"052db0fbfd37fc854f6ce7849ee81f90","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"052db0fbfd37fc854f6ce7849ee81f90"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"90b25653d8d9233b7f65693c7f5e51ac","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.142","http_referrer":"","http_user_agent":"node-fetch","requestID":"90b25653d8d9233b7f65693c7f5e51ac"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"f47844f550a0a967db291a8eda075b96"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f47844f550a0a967db291a8eda075b96","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f47844f550a0a967db291a8eda075b96"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2647","request_time":"0.665","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"7235838b19a48452139dd182a954477f"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.835378,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2647","request_time":"0.677","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9c51acce764700f9fa0f5867577cebf5"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"f47844f550a0a967db291a8eda075b96","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/b5b4984b-eeda-4343-8a4f-4100590f3dfc' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f47844f550a0a967db291a8eda075b96","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/e35402f9-68ef-4d56-a868-eb83e87f5638' 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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7d145b89-3382-4487-ac9e-e407927743cc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f21cdb3d-5377-480d-b808-af9cae6591de","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9086106} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f47844f550a0a967db291a8eda075b96","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3b11ae53-ca84-4b70-8240-cdfa51b946e0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9132028} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f47844f550a0a967db291a8eda075b96","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7d145b89-3382-4487-ac9e-e407927743cc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"01c1a6ef-ae94-463a-8f7b-9badfabf6479","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.92285} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f962fa21-383a-47bb-9c75-e5d4550ea005","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9231334} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"f47844f550a0a967db291a8eda075b96","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7d145b89-3382-4487-ac9e-e407927743cc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7d145b89-3382-4487-ac9e-e407927743cc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.922823589Z"}]},"request_id":"78102976-3823-440e-89c1-cb30c5f7022f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9273615} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f47844f550a0a967db291a8eda075b96","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f47844f550a0a967db291a8eda075b96"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"f47844f550a0a967db291a8eda075b96","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"315","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f47844f550a0a967db291a8eda075b96"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU","level":"info","message":"auth send jwt","requestID":"9464b293b2822ea9b64ca949c8cb4c7b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9464b293b2822ea9b64ca949c8cb4c7b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9464b293b2822ea9b64ca949c8cb4c7b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.246051,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"9464b293b2822ea9b64ca949c8cb4c7b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684633,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzM30.yyRU5-i7NxyHns0foBh4XKr7QipBpCygliorCZPGLoU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9464b293b2822ea9b64ca949c8cb4c7b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"d0b76257-baa3-46ad-976a-9a4bfebbc3dc","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9514632} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9464b293b2822ea9b64ca949c8cb4c7b","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:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"add1ba98-b8e6-4a86-bd67-82ff27fa548c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9548864} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"9464b293b2822ea9b64ca949c8cb4c7b","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"9761bad3-2b32-4b04-b146-2dc008bc436e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9733918} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e0eef96e-4892-4010-ba57-e38c1c4bce7c","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.9736927} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"9464b293b2822ea9b64ca949c8cb4c7b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.973354707Z"}]},"request_id":"eb17eeea-6911-4014-a038-b1a317081e87","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684633.977178} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9464b293b2822ea9b64ca949c8cb4c7b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9464b293b2822ea9b64ca949c8cb4c7b"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"9464b293b2822ea9b64ca949c8cb4c7b","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9464b293b2822ea9b64ca949c8cb4c7b"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1404e8ffb4e7820596ea31f9bd4d8502","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"1404e8ffb4e7820596ea31f9bd4d8502","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/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":"1404e8ffb4e7820596ea31f9bd4d8502"} device-1 | {"level":"info","message":"OPTIONS /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/websocket 200 1ms","method":"OPTIONS","requestID":"1404e8ffb4e7820596ea31f9bd4d8502","responseTime":1,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNX0.k9YT2st-SS1EkeQJ2MzgJPnjvroybl_h3w3SC10DBiE","level":"info","message":"auth send jwt","requestID":"a2ac23098c1ba0395f20659eb7ff4949"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a2ac23098c1ba0395f20659eb7ff4949","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a2ac23098c1ba0395f20659eb7ff4949"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:55Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.436924,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"a2ac23098c1ba0395f20659eb7ff4949","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684635,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNX0.k9YT2st-SS1EkeQJ2MzgJPnjvroybl_h3w3SC10DBiE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a2ac23098c1ba0395f20659eb7ff4949","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a2ac23098c1ba0395f20659eb7ff4949"} device-1 | {"level":"info","message":"POST /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/websocket 200 23ms","method":"POST","requestID":"a2ac23098c1ba0395f20659eb7ff4949","responseTime":23,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/websocket"} gateway-1 | {"time_local":"26/Aug/2024:15:03:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/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":"a2ac23098c1ba0395f20659eb7ff4949"} device-1 | {"level":"info","message":"device 'http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo","level":"info","message":"auth send jwt","requestID":"ae4a513dd339d67a764edf76e7387eb2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ae4a513dd339d67a764edf76e7387eb2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ae4a513dd339d67a764edf76e7387eb2"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.987547,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ae4a513dd339d67a764edf76e7387eb2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ae4a513dd339d67a764edf76e7387eb2","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.973354707Z"}]},"request_id":"b169c1ca-6dbb-4794-ad13-29322404f84b","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.02277} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ae4a513dd339d67a764edf76e7387eb2","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ae4a513dd339d67a764edf76e7387eb2"} device-1 | {"level":"info","message":"GET /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a? 200 13ms","method":"GET","requestID":"ae4a513dd339d67a764edf76e7387eb2","responseTime":13,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ae4a513dd339d67a764edf76e7387eb2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo","level":"info","message":"auth send jwt","requestID":"d257a8e357a711071cdf78a7816c3ff8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d257a8e357a711071cdf78a7816c3ff8","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d257a8e357a711071cdf78a7816c3ff8"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.678704,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"d257a8e357a711071cdf78a7816c3ff8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d257a8e357a711071cdf78a7816c3ff8","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Attempting to run experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Attempting to book experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully booked experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6a5547b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6a5595d0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.598736,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7d145b89-3382-4487-ac9e-e407927743cc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a5547b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7d145b89-3382-4487-ac9e-e407927743cc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6a5547b0-63bc-11ef-bd85-dbaeea89054b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.722042,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a5595d0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6a5595d0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7d145b89-3382-4487-ac9e-e407927743cc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7d145b89-3382-4487-ac9e-e407927743cc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.922823589Z"}]},"request_id":"068d547b-0a5b-477d-b759-85f99fcdb831","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.0827641} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6a5547b0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.973354707Z"}]},"request_id":"67a79775-6684-4a2a-a87f-318c464b3b04","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.0833662} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6a5595d0-63bc-11ef-bd85-dbaeea89054b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6a5547b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/7d145b89-3382-4487-ac9e-e407927743cc? 200 13ms","method":"GET","requestID":"6a5547b0-63bc-11ef-bd85-dbaeea89054b","responseTime":13,"status":200,"url":"/devices/7d145b89-3382-4487-ac9e-e407927743cc?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6a5595d0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a? 200 12ms","method":"GET","requestID":"6a5595d0-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Setting up experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} device-1 | {"level":"info","message":"postDevicesByDeviceId called","requestID":"6a5b8940-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.336583,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"instantiate","level":"info","message":"opa_check","object":"device:http://localhost/devices/7d145b89-3382-4487-ac9e-e407927743cc","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a5b8940-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/7d145b89-3382-4487-ac9e-e407927743cc","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6a5b8940-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"75fe8045-34fc-46f3-bfb6-465797cefd8e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.1521587} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a9217b51-0655-4abe-bfa6-017a34bbd3e0","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.1526392} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"6a5b8940-63bc-11ef-bd85-dbaeea89054b","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"registering changed-callback for device 'http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896' to 'http://localhost/callbacks/experiment'","requestID":"6a5b8940-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceId succeeded","requestID":"6a5b8940-63bc-11ef-bd85-dbaeea89054b"} authentication-1 | {"level":"info","message":"POST /token 201 22ms","method":"POST","requestID":"6a630350-63bc-11ef-b9ba-e55cb364a835","responseTime":22,"status":201,"url":"/token"} device-1 | {"level":"info","message":"POST /devices/7d145b89-3382-4487-ac9e-e407927743cc?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 78ms","method":"POST","requestID":"6a5b8940-63bc-11ef-bd85-dbaeea89054b","responseTime":78,"status":201,"url":"/devices/7d145b89-3382-4487-ac9e-e407927743cc?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully set up experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6a70bef0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6a710d10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6a715b30-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Received request.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"client_addr":"127.0.0.1:46620","level":"info","msg":"Sent response.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.843293,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Received request.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully running experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} authorization-1 | {"client_addr":"127.0.0.1:56718","level":"info","msg":"Sent response.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.566402,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a70bef0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"6a70bef0-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a710d10-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6a710d10-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Received request.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:56.152115103Z"}]},"request_id":"4b22a4ac-6918-47d6-bfda-9c1deec2e620","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.274316} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"6a70bef0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.973354707Z"}]},"request_id":"ed25c0ae-d04a-4821-a1f6-81c9d366d3f4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.2785842} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa30c7b0-fe89-419f-bdbb-a7cac3818c60","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.278639} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6a70bef0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"6a710d10-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896? 200 27ms","method":"GET","requestID":"6a70bef0-63bc-11ef-bd85-dbaeea89054b","responseTime":27,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896?"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Sent response.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.569381,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a715b30-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 20ms","method":"POST","requestID":"6a715b30-63bc-11ef-bd85-dbaeea89054b","responseTime":20,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9f49c9f5-2ce6-4630-a03e-efcc64fd31d3#owner@http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"729577f5-2155-4a12-81f0-638052279a43","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.2817833} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0fe56b48-aa1a-4e5b-a535-10a2f6f78ed8","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.2820997} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"d257a8e357a711071cdf78a7816c3ff8","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6a710d10-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a? 200 31ms","method":"GET","requestID":"6a710d10-63bc-11ef-bd85-dbaeea89054b","responseTime":31,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a?"} device-1 | {"data":{"error":"MissingEntityError","message":"Could not find websocket connection for device 93d8c240-7842-44d2-9c00-76e5f1c0c896","method":"POST","stack":"MissingEntityError: Could not find websocket connection for device 93d8c240-7842-44d2-9c00-76e5f1c0c896\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/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"6a715b30-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling 404 31ms","method":"POST","requestID":"6a715b30-63bc-11ef-bd85-dbaeea89054b","responseTime":31,"status":404,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling"} experiment-1 | {"data":{"response":{"body":{"error":"MissingEntityError","message":"Could not find websocket connection for device 93d8c240-7842-44d2-9c00-76e5f1c0c896"},"status":404}},"level":"error","message":"Could not send status-update message","requestID":"d257a8e357a711071cdf78a7816c3ff8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6a770080-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Received request.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:56Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","user":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d257a8e357a711071cdf78a7816c3ff8"} gateway-1 | {"time_local":"26/Aug/2024:15:03:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1107","request_time":"0.273","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"level":"info","message":"POST /experiments? 201 265ms","method":"POST","requestID":"d257a8e357a711071cdf78a7816c3ff8","responseTime":265,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"417f424c-86a8-455c-8e2b-546d6d2f2234","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684636.30247} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Sent response.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.10542,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6a770080-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","rebac_allow":false,"scope_allow":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":"6a770080-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6a770080-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling 200 12ms","method":"POST","requestID":"6a770080-63bc-11ef-bd85-dbaeea89054b","responseTime":12,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e22fb97ea3db12f167136d207bfeeaf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"0e22fb97ea3db12f167136d207bfeeaf","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"26/Aug/2024:15:03:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/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":"0e22fb97ea3db12f167136d207bfeeaf"} device-1 | {"level":"info","message":"OPTIONS /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/websocket 200 1ms","method":"OPTIONS","requestID":"0e22fb97ea3db12f167136d207bfeeaf","responseTime":1,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IjROQ1NObkVhVUdFVDQzU3JKTlFPXzZmS09lVmdIYnVOcUdaaVlhOWV4dnlWdk84WmZocXpyenJ5WEtDTWZpeDlTU1JpRDMzbF9hNWctdFJWYlcwZi1BIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzOH0.O8AG8MU5h7FDOpLMxxcRa0xDFUqM6SJqOOaj7H55YVI","level":"info","message":"auth send jwt","requestID":"7c787518694ade603dbfdf1de32dda23"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7c787518694ade603dbfdf1de32dda23","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"7c787518694ade603dbfdf1de32dda23"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Received request.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:58Z"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Sent response.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.236176,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"7c787518694ade603dbfdf1de32dda23","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","payload":{"admin":true,"edgeToken":"4NCSNnEaUGET43SrJNQO_6fKOeVgHbuNqGZiYa9exvyVvO8ZfhqzrzryXKCMfix9SSRiD33l_a5g-tRVbW0f-A","iat":1724684638,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IjROQ1NObkVhVUdFVDQzU3JKTlFPXzZmS09lVmdIYnVOcUdaaVlhOWV4dnlWdk84WmZocXpyenJ5WEtDTWZpeDlTU1JpRDMzbF9hNWctdFJWYlcwZi1BIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzOH0.O8AG8MU5h7FDOpLMxxcRa0xDFUqM6SJqOOaj7H55YVI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7c787518694ade603dbfdf1de32dda23","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"7c787518694ade603dbfdf1de32dda23"} gateway-1 | {"time_local":"26/Aug/2024:15:03:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/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":"7c787518694ade603dbfdf1de32dda23"} device-1 | {"level":"info","message":"POST /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/websocket 200 21ms","method":"POST","requestID":"7c787518694ade603dbfdf1de32dda23","responseTime":21,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/websocket"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"device 'http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6522dce0bfe119e6e7b9c97be2c758a1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6522dce0bfe119e6e7b9c97be2c758a1","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","device":{"announcedAvailability":[],"connected":true,"description":"A JS test device","isPublic":true,"name":"JS Device 1","services":[],"type":"device","url":"http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"6522dce0bfe119e6e7b9c97be2c758a1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzOH0.DObM4avvpM23PxDiOVYKasstr7As3FqscM2Dkn1QUjU","level":"info","message":"auth send jwt","requestID":"0118529e622fdf3e0f5861a9e698e95a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0118529e622fdf3e0f5861a9e698e95a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0118529e622fdf3e0f5861a9e698e95a"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Received request.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:58Z"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Sent response.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.053009,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"0118529e622fdf3e0f5861a9e698e95a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684638,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzOH0.DObM4avvpM23PxDiOVYKasstr7As3FqscM2Dkn1QUjU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0118529e622fdf3e0f5861a9e698e95a","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:56.152115103Z"}]},"request_id":"41e2cad3-c7d9-4108-8c1f-9aa2a3870e23","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684638.3309577} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0118529e622fdf3e0f5861a9e698e95a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0118529e622fdf3e0f5861a9e698e95a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 21ms","method":"POST","requestID":"6522dce0bfe119e6e7b9c97be2c758a1","responseTime":21,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:03:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0118529e622fdf3e0f5861a9e698e95a"} device-1 | {"level":"info","message":"GET /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896? 200 18ms","method":"GET","requestID":"0118529e622fdf3e0f5861a9e698e95a","responseTime":18,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896?"} gateway-1 | {"time_local":"26/Aug/2024:15:03: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.024","http_referrer":"","http_user_agent":"node-fetch","requestID":"6522dce0bfe119e6e7b9c97be2c758a1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzOH0.DObM4avvpM23PxDiOVYKasstr7As3FqscM2Dkn1QUjU","level":"info","message":"auth send jwt","requestID":"ae3cb822504f10be4091dd4c35b2e53d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ae3cb822504f10be4091dd4c35b2e53d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ae3cb822504f10be4091dd4c35b2e53d"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Received request.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:03:58Z"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Sent response.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.168099,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:03:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ae3cb822504f10be4091dd4c35b2e53d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684638,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzOH0.DObM4avvpM23PxDiOVYKasstr7As3FqscM2Dkn1QUjU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ae3cb822504f10be4091dd4c35b2e53d","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.973354707Z"}]},"request_id":"66f209cc-b941-4b90-8d62-0c56d351318e","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684638.3527505} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ae3cb822504f10be4091dd4c35b2e53d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ae3cb822504f10be4091dd4c35b2e53d"} device-1 | {"level":"info","message":"GET /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a? 200 16ms","method":"GET","requestID":"ae3cb822504f10be4091dd4c35b2e53d","responseTime":16,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a?"} gateway-1 | {"time_local":"26/Aug/2024:15:03:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.021","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ae3cb822504f10be4091dd4c35b2e53d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6d71a2e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6d71f100-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Received request.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"client_addr":"127.0.0.1:47498","level":"info","msg":"Sent response.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.15885,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d71a2e0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6d71a2e0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.729406,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d71f100-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"6d71f100-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:56.152115103Z"}]},"request_id":"af8a7e26-8fed-4995-b258-7396812228ba","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.309029} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6d71a2e0-63bc-11ef-bd85-dbaeea89054b","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:57908","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"timestamp":"2024-08-26T15:03:53.973354707Z"}]},"request_id":"b2e6966c-d409-46d9-a3d7-dc9415269107","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.3103154} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6d71f100-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6d71a2e0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896? 200 22ms","method":"GET","requestID":"6d71a2e0-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6d71f100-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a? 200 22ms","method":"GET","requestID":"6d71f100-63bc-11ef-bd85-dbaeea89054b","responseTime":22,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d75e8a0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cdbe3015-a9dc-464e-a4b6-5ec91cfd9643","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.3291168} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.217705,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d75e8a0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","rebac_allow":false,"scope_allow":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":"6d75e8a0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d75e8a0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling 200 14ms","method":"POST","requestID":"6d75e8a0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d7880b0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15f6cfe7-85fe-4008-9407-8338c161f509","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.3463964} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.857281,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d7880b0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","rebac_allow":false,"scope_allow":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":"6d7880b0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d7880b0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling 200 14ms","method":"POST","requestID":"6d7880b0-63bc-11ef-bd85-dbaeea89054b","responseTime":14,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Building connection plan","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"ec6b094d-f152-46c2-8579-9ff40db22188"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"8497e28f-e2f8-4e88-9afa-1dd4ad94cdf4"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"a3a1eec2-46d2-4d8d-a425-2f5289e4218d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d257a8e357a711071cdf78a7816c3ff8"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d257a8e357a711071cdf78a7816c3ff8"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.331226,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684636,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDYzNn0.4T1llG5rofVLm-Km0Yvy4bDSw5Wf4i4DSu-7Ufmd5Qo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7'. 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]}},"raw_response":{},"request_id":"b3567f2d-ebb6-4f6d-8c9f-50a6ba88216a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.37478} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c10dba4b-0b4c-4172-964a-641e0d782158","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.375252} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c'","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c'","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b"} 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":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b","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":"6d7b3fd0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d257a8e357a711071cdf78a7816c3ff8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d85c720-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fb10ca8b-9075-42fc-9d21-a9abf1af9baa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.4307048} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.840205,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d85c720-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6d85c720-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d85c720-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling 200 11ms","method":"POST","requestID":"6d85c720-63bc-11ef-bd85-dbaeea89054b","responseTime":11,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d87c2f0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a20ed4b1-5921-4041-b844-54e9a7e37af4","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.4430628} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.459015,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d87c2f0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","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":{"sdp":"v=0\r\no=- 2447050314077001237 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:tMLN\r\na=ice-pwd:LqJsuAIEHIAUwKf10yWESUHp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 CF:E4:03:78:2A:33:47:60:F1:F5:7D:E2:AD:56:47:78:99:EE:51:D3:B7:E8:76:14:8C:BA:E1:9E:89:35:D3:FC\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6d87c2f0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d87c2f0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling 200 9ms","method":"POST","requestID":"6d87c2f0-63bc-11ef-bd85-dbaeea89054b","responseTime":9,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 7815540754525714786 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:ppXI\r\na=ice-pwd:cdi1ftP4xG+wZ7lFOCOOid4x\r\na=ice-options:trickle\r\na=fingerprint:sha-256 90:61:CF:EC:39:9D:8E:F4:55:62:34:1C:46:45:7D:B7:84:5D:5A:2B:77:C6:89:BB:79:CD:88:0D:BD:0C:86:73\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1523615997 1 udp 2113937151 e06fa79c-5813-4caa-b82a-576c4319a377.local 58785 typ host generation 0 ufrag ppXI network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3388680686 1 udp 1677729535 141.24.211.56 58785 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag ppXI network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","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/93d8c240-7842-44d2-9c00-76e5f1c0c896'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896'"} device-1 | {"content":{"candidate":"candidate:2748644226 1 udp 2113937151 90c3e8b1-131e-4932-8562-f352454ef2e4.local 49267 typ host generation 0 ufrag tMLN network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:670667261 1 udp 1677729535 141.24.211.56 49267 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag tMLN network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","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/186b76d9-bac5-4a97-94c5-2cda3ab9434a'"} device-1 | {"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","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/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ab072809d22b5981499bc3d3356398bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ab072809d22b5981499bc3d3356398bf","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","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":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c"}}},"level":"info","message":"received a callback","requestID":"ab072809d22b5981499bc3d3356398bf"} device-1 | {"device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","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":"ab072809d22b5981499bc3d3356398bf","responseTime":4,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:04: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.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"ab072809d22b5981499bc3d3356398bf"} device-1 | {"device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","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/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4ea678324e2b46f3e658ddbd970c0401","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4ea678324e2b46f3e658ddbd970c0401","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c"}}},"level":"info","message":"received a callback","requestID":"4ea678324e2b46f3e658ddbd970c0401"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"6d91d510-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3dd4e6f0-34a6-4ada-a164-73b6c25dc343","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.5091946} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.468542,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d91d510-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","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":"6d91d510-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"6d91d510-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"GET /peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c 200 8ms","method":"GET","requestID":"6d91d510-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"4ea678324e2b46f3e658ddbd970c0401","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:04: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.029","http_referrer":"","http_user_agent":"node-fetch","requestID":"4ea678324e2b46f3e658ddbd970c0401"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d953070-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d83c88f-39cf-4a7d-bbfe-398b19700627","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.5308275} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.055216,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d953070-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","rebac_allow":false,"scope_allow":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":"6d953070-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d953070-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling 200 7ms","method":"POST","requestID":"6d953070-63bc-11ef-bd85-dbaeea89054b","responseTime":7,"status":200,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d969000-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5fb01c28-4f4c-4ef7-a3bf-2d7cedb81aa9","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.5396976} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.530105,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6d969000-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6d969000-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d969000-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling 200 8ms","method":"POST","requestID":"6d969000-63bc-11ef-bd85-dbaeea89054b","responseTime":8,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDY0MX0.Yi3-auwXK3NXkB_zTiW5ya49PPW_r4DBcLXM_4Y0ptQ","level":"info","message":"auth send jwt","requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.779456,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684641,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDY0MX0.Yi3-auwXK3NXkB_zTiW5ya49PPW_r4DBcLXM_4Y0ptQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae"} experiment-1 | {"level":"info","message":"GET /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3 200 13ms","method":"GET","requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae","responseTime":13,"status":200,"url":"/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"} gateway-1 | {"time_local":"26/Aug/2024:15:04:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3 HTTP/1.1","status": "200","body_bytes_sent":"1180","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ed6184c53d3ebd9073846cb6ffc2d7ae"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDY0MX0.Yi3-auwXK3NXkB_zTiW5ya49PPW_r4DBcLXM_4Y0ptQ","level":"info","message":"auth send jwt","requestID":"25413a3dc5199475661d527b6c6b3ca8"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"25413a3dc5199475661d527b6c6b3ca8","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","requestID":"25413a3dc5199475661d527b6c6b3ca8"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.251272,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"25413a3dc5199475661d527b6c6b3ca8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"experiment:http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","object_type":"experiment","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684641,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDY0MX0.Yi3-auwXK3NXkB_zTiW5ya49PPW_r4DBcLXM_4Y0ptQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"25413a3dc5199475661d527b6c6b3ca8","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Attempting to finish experiment","requestID":"25413a3dc5199475661d527b6c6b3ca8"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6da13e60-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.305389,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6da13e60-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"peerconnection:http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684641,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDY0MX0.Yi3-auwXK3NXkB_zTiW5ya49PPW_r4DBcLXM_4Y0ptQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6da13e60-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","device":"93d8c240-7842-44d2-9c00-76e5f1c0c896","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","device":"186b76d9-bac5-4a97-94c5-2cda3ab9434a","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/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"6b7ed113-60fe-4b2d-ad9a-8c8c01d4d44f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.6245925} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7ba8a94a-27d0-40be-a6dc-e9d965414aa3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.624923} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"6da13e60-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e90a684603b373d443d25e3947cf2ea","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"0e90a684603b373d443d25e3947cf2ea","responseTime":0,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4c35caab359b1fc708856ee9f8deaccd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c"}}},"level":"info","message":"received a callback","requestID":"0e90a684603b373d443d25e3947cf2ea"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4c35caab359b1fc708856ee9f8deaccd","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c"}}},"level":"info","message":"received a callback","requestID":"4c35caab359b1fc708856ee9f8deaccd"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6da13e60-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c 204 23ms","method":"DELETE","requestID":"6da13e60-63bc-11ef-bd85-dbaeea89054b","responseTime":23,"status":204,"url":"/peerconnections/d9a5c2d9-edfc-4d0b-a8cf-d9eec8caf01c"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId called","requestID":"6da50ef0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.899996,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6da50ef0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","payload":{"admin":true,"edgeToken":"WRfvsfvWpvqYoKiCzxPlLFNGo9g2dfez6EW-d1wQF-lgw7p4GQn7Xy_PjP2whbJOhshT943ZTlGTUtfT8RtINg","iat":1724684641,"sub":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7","subject_alt":"http://localhost/users/942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzk0Mjc1N2NlLWI0Y2YtNGVkNi1hOGM5LTljODU1ODJlZTFiNyIsImVkZ2VUb2tlbiI6IldSZnZzZnZXcHZxWW9LaUN6eFBsTEZOR285ZzJkZmV6NkVXLWQxd1FGLWxndzdwNEdRbjdYeV9QalAyd2hiSk9oc2hUOTQzWlRsR1RVdGZUOFJ0SU5nIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDY4NDY0MX0.Yi3-auwXK3NXkB_zTiW5ya49PPW_r4DBcLXM_4Y0ptQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6da50ef0-63bc-11ef-bd85-dbaeea89054b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a'"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"37c82639-19e4-4445-a1e8-547d7bfae5fa","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.6436672} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"12390684-17e3-4994-8d66-152ef53129d3","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.644037} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"6da50ef0-63bc-11ef-bd85-dbaeea89054b","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId succeeded","requestID":"6da50ef0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"DELETE /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896 204 25ms","method":"DELETE","requestID":"6da50ef0-63bc-11ef-bd85-dbaeea89054b","responseTime":25,"status":204,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"},"level":"info","message":"Successfully finished experiment","requestID":"25413a3dc5199475661d527b6c6b3ca8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6dabecc0-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F93d8c240-7842-44d2-9c00-76e5f1c0c896","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e84807b3-54a6-44c5-93c6-b17df0704f6a","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.682195} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.656406,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6dabecc0-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6dabecc0-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"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/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"6dabecc0-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/signaling 404 10ms","method":"POST","requestID":"6dabecc0-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":404,"url":"/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896/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":"25413a3dc5199475661d527b6c6b3ca8"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","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%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9f49c9f5-2ce6-4630-a03e-efcc64fd31d3': 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:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F942757ce-b4cf-4ed6-a8c9-9c85582ee1b7"}]},"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","writes":null},"raw_response":{},"request_id":"a7c6a789-e71d-4ca5-8505-f393cd2fca60","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.6881676} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store_id":"01J67KAC6XRYV3KBKNJTHG0M64"},"raw_response":{"authorization_model":{"id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9a1c167f-d11c-47f4-8e3e-cc9ad67e022f","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.6884902} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6dade890-63bc-11ef-bd85-dbaeea89054b"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"25413a3dc5199475661d527b6c6b3ca8","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Received request.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:57908","raw_request":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","contextual_tuples":null,"store_id":"01J67KAC6XRYV3KBKNJTHG0M64","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F186b76d9-bac5-4a97-94c5-2cda3ab9434a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d04134d0-d254-48dc-a712-2039850c6098","store_id":"01J67KAC6XRYV3KBKNJTHG0M64","subsystem":"openfga","timestamp":1724684641.6937003} authorization-1 | {"client_addr":"127.0.0.1:47508","level":"info","msg":"Sent response.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.301662,"resp_status":200,"subsystem":"opa","time":"2024-08-26T15:04:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","openfga":{"authorization_model_id":"01J67KAC7ZE6DQEHH1NF2Z4KRE","store":"01J67KAC6XRYV3KBKNJTHG0M64"},"requestID":"6dade890-63bc-11ef-bd85-dbaeea89054b","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6dade890-63bc-11ef-bd85-dbaeea89054b","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6dade890-63bc-11ef-bd85-dbaeea89054b"} device-1 | {"level":"info","message":"POST /devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling 200 10ms","method":"POST","requestID":"6dade890-63bc-11ef-bd85-dbaeea89054b","responseTime":10,"status":200,"url":"/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3","requestID":"25413a3dc5199475661d527b6c6b3ca8"} gateway-1 | {"time_local":"26/Aug/2024:15:04:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.165","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"25413a3dc5199475661d527b6c6b3ca8"} experiment-1 | {"level":"info","message":"DELETE /experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3 204 162ms","method":"DELETE","requestID":"25413a3dc5199475661d527b6c6b3ca8","responseTime":162,"status":204,"url":"/experiments/9f49c9f5-2ce6-4630-a03e-efcc64fd31d3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"0e90a684603b373d443d25e3947cf2ea","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:04: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"0e90a684603b373d443d25e3947cf2ea"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"4c35caab359b1fc708856ee9f8deaccd","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:04: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"4c35caab359b1fc708856ee9f8deaccd"} gateway-1 | {"time_local":"26/Aug/2024:15:04:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2647","request_time":"5.772","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"02b3f14918d06f56098cdc09fe56e8f4"} gateway-1 | {"time_local":"26/Aug/2024:15:04:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2405","request_time":"3.469","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1386bdfd1e955eead68063ee99e683de"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896' closed"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"acf3b304ba11c3994c90c9e2047c9290","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"acf3b304ba11c3994c90c9e2047c9290","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","device":{"announcedAvailability":[],"connected":false,"description":"A JS test device","isPublic":true,"name":"JS Device 1","services":[],"type":"device","url":"http://localhost/devices/93d8c240-7842-44d2-9c00-76e5f1c0c896"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"acf3b304ba11c3994c90c9e2047c9290"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 410 2ms","method":"POST","requestID":"acf3b304ba11c3994c90c9e2047c9290","responseTime":2,"status":410,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"26/Aug/2024:15:04:01 +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":"acf3b304ba11c3994c90c9e2047c9290"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/186b76d9-bac5-4a97-94c5-2cda3ab9434a' closed"} authorization-1 | {"level":"info","msg":"Shutting down...","subsystem":"opa","time":"2024-08-26T15:04:06Z"} authorization-1 | {"level":"info","msg":"Server shutdown.","subsystem":"opa","time":"2024-08-26T15:04:06Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"attempting to shutdown gracefully","subsystem":"openfga","timestamp":1724684646.9111466} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"server exited. goodbye ๐Ÿ‘‹","subsystem":"openfga","timestamp":1724684646.9116979} authentication-1 exited with code 0 authorization-1 exited with code 0 device-1 exited with code 0 experiment-1 exited with code 0 federation-1 exited with code 0 gateway-1 exited with code 0